augmented_args 1704 tools/perf/builtin-trace.c unsigned char *args, void *augmented_args, int augmented_args_size, augmented_args 1714 tools/perf/builtin-trace.c .args = augmented_args, augmented_args 1920 tools/perf/builtin-trace.c void *augmented_args = NULL; augmented_args 1939 tools/perf/builtin-trace.c augmented_args = sample->raw_data + args_size; augmented_args 1941 tools/perf/builtin-trace.c return augmented_args; augmented_args 1954 tools/perf/builtin-trace.c void *augmented_args = NULL; augmented_args 1989 tools/perf/builtin-trace.c augmented_args = syscall__augmented_args(sc, sample, &augmented_args_size, trace->raw_augmented_syscalls_args_size); augmented_args 1995 tools/perf/builtin-trace.c args, augmented_args, augmented_args_size, trace, thread); augmented_args 2031 tools/perf/builtin-trace.c void *args, *augmented_args = NULL; augmented_args 2047 tools/perf/builtin-trace.c augmented_args = syscall__augmented_args(sc, sample, &augmented_args_size, trace->raw_augmented_syscalls_args_size); augmented_args 2048 tools/perf/builtin-trace.c syscall__scnprintf_args(sc, msg, sizeof(msg), args, augmented_args, augmented_args_size, trace, thread); augmented_args 138 tools/perf/examples/bpf/augmented_raw_syscalls.c struct augmented_args_payload *augmented_args = augmented_args_payload(); augmented_args 141 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); augmented_args 143 tools/perf/examples/bpf/augmented_raw_syscalls.c if (augmented_args == NULL) augmented_args 146 tools/perf/examples/bpf/augmented_raw_syscalls.c if (socklen > sizeof(augmented_args->saddr)) augmented_args 147 tools/perf/examples/bpf/augmented_raw_syscalls.c socklen = sizeof(augmented_args->saddr); augmented_args 149 tools/perf/examples/bpf/augmented_raw_syscalls.c probe_read(&augmented_args->saddr, socklen, sockaddr_arg); augmented_args 151 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len + socklen); augmented_args 157 tools/perf/examples/bpf/augmented_raw_syscalls.c struct augmented_args_payload *augmented_args = augmented_args_payload(); augmented_args 160 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); augmented_args 162 tools/perf/examples/bpf/augmented_raw_syscalls.c if (augmented_args == NULL) augmented_args 165 tools/perf/examples/bpf/augmented_raw_syscalls.c if (socklen > sizeof(augmented_args->saddr)) augmented_args 166 tools/perf/examples/bpf/augmented_raw_syscalls.c socklen = sizeof(augmented_args->saddr); augmented_args 168 tools/perf/examples/bpf/augmented_raw_syscalls.c probe_read(&augmented_args->saddr, socklen, sockaddr_arg); augmented_args 170 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len + socklen); augmented_args 176 tools/perf/examples/bpf/augmented_raw_syscalls.c struct augmented_args_payload *augmented_args = augmented_args_payload(); augmented_args 178 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); augmented_args 180 tools/perf/examples/bpf/augmented_raw_syscalls.c if (augmented_args == NULL) augmented_args 183 tools/perf/examples/bpf/augmented_raw_syscalls.c len += augmented_arg__read_str(&augmented_args->arg, filename_arg, sizeof(augmented_args->arg.value)); augmented_args 185 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len); augmented_args 191 tools/perf/examples/bpf/augmented_raw_syscalls.c struct augmented_args_payload *augmented_args = augmented_args_payload(); augmented_args 193 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); augmented_args 195 tools/perf/examples/bpf/augmented_raw_syscalls.c if (augmented_args == NULL) augmented_args 198 tools/perf/examples/bpf/augmented_raw_syscalls.c len += augmented_arg__read_str(&augmented_args->arg, filename_arg, sizeof(augmented_args->arg.value)); augmented_args 200 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len); augmented_args 206 tools/perf/examples/bpf/augmented_raw_syscalls.c struct augmented_args_payload *augmented_args = augmented_args_payload(); augmented_args 209 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args), oldpath_len; augmented_args 211 tools/perf/examples/bpf/augmented_raw_syscalls.c if (augmented_args == NULL) augmented_args 214 tools/perf/examples/bpf/augmented_raw_syscalls.c oldpath_len = augmented_arg__read_str(&augmented_args->arg, oldpath_arg, sizeof(augmented_args->arg.value)); augmented_args 215 tools/perf/examples/bpf/augmented_raw_syscalls.c len += oldpath_len + augmented_arg__read_str((void *)(&augmented_args->arg) + oldpath_len, newpath_arg, sizeof(augmented_args->arg.value)); augmented_args 217 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len); augmented_args 223 tools/perf/examples/bpf/augmented_raw_syscalls.c struct augmented_args_payload *augmented_args = augmented_args_payload(); augmented_args 226 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args), oldpath_len; augmented_args 228 tools/perf/examples/bpf/augmented_raw_syscalls.c if (augmented_args == NULL) augmented_args 231 tools/perf/examples/bpf/augmented_raw_syscalls.c oldpath_len = augmented_arg__read_str(&augmented_args->arg, oldpath_arg, sizeof(augmented_args->arg.value)); augmented_args 232 tools/perf/examples/bpf/augmented_raw_syscalls.c len += oldpath_len + augmented_arg__read_str((void *)(&augmented_args->arg) + oldpath_len, newpath_arg, sizeof(augmented_args->arg.value)); augmented_args 234 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len); augmented_args 240 tools/perf/examples/bpf/augmented_raw_syscalls.c struct augmented_args_payload *augmented_args; augmented_args 250 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); augmented_args 256 tools/perf/examples/bpf/augmented_raw_syscalls.c augmented_args = augmented_args_payload(); augmented_args 257 tools/perf/examples/bpf/augmented_raw_syscalls.c if (augmented_args == NULL) augmented_args 260 tools/perf/examples/bpf/augmented_raw_syscalls.c probe_read(&augmented_args->args, sizeof(augmented_args->args), args); augmented_args 267 tools/perf/examples/bpf/augmented_raw_syscalls.c bpf_tail_call(args, &syscalls_sys_enter, augmented_args->args.syscall_nr); augmented_args 44 tools/perf/examples/bpf/augmented_syscalls.c struct augmented_enter_##syscall##_args augmented_args = { .filename.reserved = 0, }; \ augmented_args 45 tools/perf/examples/bpf/augmented_syscalls.c unsigned int len = sizeof(augmented_args); \ augmented_args 46 tools/perf/examples/bpf/augmented_syscalls.c probe_read(&augmented_args.args, sizeof(augmented_args.args), args); \ augmented_args 47 tools/perf/examples/bpf/augmented_syscalls.c augmented_args.filename.size = probe_read_str(&augmented_args.filename.value, \ augmented_args 48 tools/perf/examples/bpf/augmented_syscalls.c sizeof(augmented_args.filename.value), \ augmented_args 50 tools/perf/examples/bpf/augmented_syscalls.c if (augmented_args.filename.size < sizeof(augmented_args.filename.value)) { \ augmented_args 51 tools/perf/examples/bpf/augmented_syscalls.c len -= sizeof(augmented_args.filename.value) - augmented_args.filename.size; \ augmented_args 52 tools/perf/examples/bpf/augmented_syscalls.c len &= sizeof(augmented_args.filename.value) - 1; \ augmented_args 56 tools/perf/examples/bpf/augmented_syscalls.c &augmented_args, len); \ augmented_args 116 tools/perf/examples/bpf/augmented_syscalls.c struct augmented_enter_##syscall##_args augmented_args; \ augmented_args 117 tools/perf/examples/bpf/augmented_syscalls.c unsigned long addrlen = sizeof(augmented_args.addr); \ augmented_args 118 tools/perf/examples/bpf/augmented_syscalls.c probe_read(&augmented_args.args, sizeof(augmented_args.args), args); \ augmented_args 123 tools/perf/examples/bpf/augmented_syscalls.c probe_read(&augmented_args.addr, addrlen, args->addr_ptr); \ augmented_args 126 tools/perf/examples/bpf/augmented_syscalls.c &augmented_args, \ augmented_args 127 tools/perf/examples/bpf/augmented_syscalls.c sizeof(augmented_args) - sizeof(augmented_args.addr) + addrlen);\ augmented_args 41 tools/perf/examples/bpf/etcsnoop.c struct augmented_enter_##syscall##_args augmented_args = { .filename.reserved = 0, }; \ augmented_args 42 tools/perf/examples/bpf/etcsnoop.c probe_read(&augmented_args.args, sizeof(augmented_args.args), args); \ augmented_args 43 tools/perf/examples/bpf/etcsnoop.c augmented_args.filename.size = probe_read_str(&augmented_args.filename.value, \ augmented_args 44 tools/perf/examples/bpf/etcsnoop.c sizeof(augmented_args.filename.value), \ augmented_args 46 tools/perf/examples/bpf/etcsnoop.c if (__builtin_memcmp(augmented_args.filename.value, etc, 4) != 0) \ augmented_args 50 tools/perf/examples/bpf/etcsnoop.c &augmented_args, \ augmented_args 51 tools/perf/examples/bpf/etcsnoop.c (sizeof(augmented_args) - sizeof(augmented_args.filename.value) + \ augmented_args 52 tools/perf/examples/bpf/etcsnoop.c augmented_args.filename.size)); \