Home
last modified time | relevance | path

Searched refs:augmented_arg (Results 1 – 3 of 3) sorted by relevance

/linux/tools/perf/util/bpf_skel/
H A Daugmented_raw_syscalls.bpf.c101 struct augmented_arg { struct
119 struct augmented_arg arg, arg2; // We have to reserve space for two arguments (rename, etc) argument
139 struct augmented_arg aug_args[6];
167 unsigned int augmented_arg__read_str(struct augmented_arg *augmented_arg, const void *arg, unsigned… in augmented_arg__read_str() argument
169 unsigned int augmented_len = sizeof(*augmented_arg); in augmented_arg__read_str()
170 int string_len = bpf_probe_read_user_str(&augmented_arg->value, arg_len, arg); in augmented_arg__read_str()
172 augmented_arg->size = augmented_arg->err = 0; in augmented_arg__read_str()
178 augmented_len -= sizeof(augmented_arg->value) - string_len; in augmented_arg__read_str()
179 …_Static_assert(is_power_of_2(sizeof(augmented_arg->value)), "sizeof(augmented_arg->value) needs to… in augmented_arg__read_str()
180 augmented_len &= sizeof(augmented_arg->value) - 1; in augmented_arg__read_str()
[all …]
/linux/tools/perf/trace/beauty/
H A Dbeauty.h83 struct augmented_arg { struct
110 struct augmented_arg *args;
/linux/tools/perf/
H A Dbuiltin-trace.c1048 struct augmented_arg *augmented_arg = arg->augmented.args; in btf_struct_scnprintf() local
1069 consumed = sizeof(*augmented_arg) + augmented_arg->size; in btf_struct_scnprintf()
1814 struct augmented_arg *augmented_arg = arg->augmented.args; in syscall_arg__scnprintf_augmented_string() local
1815 size_t printed = scnprintf(bf, size, "\"%.*s\"", augmented_arg->size, augmented_arg->value); in syscall_arg__scnprintf_augmented_string()
1820 int consumed = sizeof(*augmented_arg) + augmented_arg->size; in syscall_arg__scnprintf_augmented_string()
1848 struct augmented_arg *augmented_arg = arg->augmented.args; in syscall_arg__scnprintf_buf() local
1849 unsigned char *orig = (unsigned char *)augmented_arg->value; in syscall_arg__scnprintf_buf()
1853 if (augmented_arg == NULL) in syscall_arg__scnprintf_buf()
1856 for (int j = 0; j < augmented_arg->size; ++j) { in syscall_arg__scnprintf_buf()
1862 consumed = sizeof(*augmented_arg) + augmented_arg->size; in syscall_arg__scnprintf_buf()