File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -251,11 +251,11 @@ selectively from different subsystems.
251
251
.. code-block :: c
252
252
253
253
struct kcov_remote_arg {
254
- unsigned trace_mode;
255
- unsigned area_size;
256
- unsigned num_handles;
257
- uint64_t common_handle;
258
- uint64_t handles[0];
254
+ __u32 trace_mode;
255
+ __u32 area_size;
256
+ __u32 num_handles;
257
+ __aligned_u64 common_handle;
258
+ __aligned_u64 handles[0];
259
259
};
260
260
261
261
#define KCOV_INIT_TRACE _IOR('c', 1, unsigned long)
Original file line number Diff line number Diff line change 9
9
* and the comment before kcov_remote_start() for usage details.
10
10
*/
11
11
struct kcov_remote_arg {
12
- unsigned int trace_mode ; /* KCOV_TRACE_PC or KCOV_TRACE_CMP */
13
- unsigned int area_size ; /* Length of coverage buffer in words */
14
- unsigned int num_handles ; /* Size of handles array */
15
- __u64 common_handle ;
16
- __u64 handles [0 ];
12
+ __u32 trace_mode ; /* KCOV_TRACE_PC or KCOV_TRACE_CMP */
13
+ __u32 area_size ; /* Length of coverage buffer in words */
14
+ __u32 num_handles ; /* Size of handles array */
15
+ __aligned_u64 common_handle ;
16
+ __aligned_u64 handles [0 ];
17
17
};
18
18
19
19
#define KCOV_REMOTE_MAX_HANDLES 0x100
You can’t perform that action at this time.
0 commit comments