Searched refs:augmented_args (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/tools/perf/examples/bpf/ |
D | augmented_raw_syscalls.c | 138 struct augmented_args_payload *augmented_args = augmented_args_payload(); in sys_enter_connect() local 141 unsigned int len = sizeof(augmented_args->args); in sys_enter_connect() 143 if (augmented_args == NULL) in sys_enter_connect() 146 if (socklen > sizeof(augmented_args->saddr)) in sys_enter_connect() 147 socklen = sizeof(augmented_args->saddr); in sys_enter_connect() 149 probe_read(&augmented_args->saddr, socklen, sockaddr_arg); in sys_enter_connect() 151 return augmented__output(args, augmented_args, len + socklen); in sys_enter_connect() 157 struct augmented_args_payload *augmented_args = augmented_args_payload(); in sys_enter_sendto() local 160 unsigned int len = sizeof(augmented_args->args); in sys_enter_sendto() 162 if (augmented_args == NULL) in sys_enter_sendto() [all …]
|
D | augmented_syscalls.c | 44 struct augmented_enter_##syscall##_args augmented_args = { .filename.reserved = 0, }; \ 45 unsigned int len = sizeof(augmented_args); \ 46 probe_read(&augmented_args.args, sizeof(augmented_args.args), args); \ 47 augmented_args.filename.size = probe_read_str(&augmented_args.filename.value, \ 48 sizeof(augmented_args.filename.value), \ 50 if (augmented_args.filename.size < sizeof(augmented_args.filename.value)) { \ 51 len -= sizeof(augmented_args.filename.value) - augmented_args.filename.size; \ 52 len &= sizeof(augmented_args.filename.value) - 1; \ 56 &augmented_args, len); \ 116 struct augmented_enter_##syscall##_args augmented_args; \ [all …]
|
D | etcsnoop.c | 41 struct augmented_enter_##syscall##_args augmented_args = { .filename.reserved = 0, }; \ 42 probe_read(&augmented_args.args, sizeof(augmented_args.args), args); \ 43 augmented_args.filename.size = probe_read_str(&augmented_args.filename.value, \ 44 sizeof(augmented_args.filename.value), \ 46 if (__builtin_memcmp(augmented_args.filename.value, etc, 4) != 0) \ 50 &augmented_args, \ 51 (sizeof(augmented_args) - sizeof(augmented_args.filename.value) + \ 52 augmented_args.filename.size)); \
|
/linux-6.1.9/tools/perf/ |
D | builtin-trace.c | 2007 unsigned char *args, void *augmented_args, int augmented_args_size, in syscall__scnprintf_args() argument 2017 .args = augmented_args, in syscall__scnprintf_args() 2267 void *augmented_args = NULL; local 2286 augmented_args = sample->raw_data + args_size; 2288 return augmented_args; 2309 void *augmented_args = NULL; local 2344 …augmented_args = syscall__augmented_args(sc, sample, &augmented_args_size, trace->raw_augmented_sy… 2350 args, augmented_args, augmented_args_size, trace, thread); 2386 void *args, *augmented_args = NULL; local 2402 …augmented_args = syscall__augmented_args(sc, sample, &augmented_args_size, trace->raw_augmented_sy… [all …]
|