Searched refs:augmented_args (Results 1 – 4 of 4) sorted by relevance
/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)); \
|
/tools/perf/ |
D | builtin-trace.c | 1755 unsigned char *args, void *augmented_args, int augmented_args_size, in syscall__scnprintf_args() argument 1765 .args = augmented_args, in syscall__scnprintf_args() 1969 void *augmented_args = NULL; in syscall__augmented_args() local 1988 augmented_args = sample->raw_data + args_size; in syscall__augmented_args() 1990 return augmented_args; in syscall__augmented_args() 2003 void *augmented_args = NULL; in trace__sys_enter() local 2038 …augmented_args = syscall__augmented_args(sc, sample, &augmented_args_size, trace->raw_augmented_sy… in trace__sys_enter() 2044 args, augmented_args, augmented_args_size, trace, thread); in trace__sys_enter() 2080 void *args, *augmented_args = NULL; in trace__fprintf_sys_enter() local 2096 …augmented_args = syscall__augmented_args(sc, sample, &augmented_args_size, trace->raw_augmented_sy… in trace__fprintf_sys_enter() [all …]
|