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.c100 struct augmented_arg { struct
118 struct augmented_arg arg, arg2; // We have to reserve space for two arguments (rename, etc) argument
138 struct augmented_arg aug_args[6];
166 unsigned int augmented_arg__read_str(struct augmented_arg *augmented_arg, const void *arg, unsigned… in augmented_arg__read_str() argument
168 unsigned int augmented_len = sizeof(*augmented_arg); in augmented_arg__read_str()
169 int string_len = bpf_probe_read_user_str(&augmented_arg->value, arg_len, arg); in augmented_arg__read_str()
171 augmented_arg->size = augmented_arg->err = 0; in augmented_arg__read_str()
177 augmented_len -= sizeof(augmented_arg->value) - string_len; in augmented_arg__read_str()
178 …_Static_assert(is_power_of_2(sizeof(augmented_arg->value)), "sizeof(augmented_arg->value) needs to… in augmented_arg__read_str()
179 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.c1034 struct augmented_arg *augmented_arg = arg->augmented.args; in btf_struct_scnprintf() local
1055 consumed = sizeof(*augmented_arg) + augmented_arg->size; in btf_struct_scnprintf()
1750 struct augmented_arg *augmented_arg = arg->augmented.args; in syscall_arg__scnprintf_augmented_string() local
1751 size_t printed = scnprintf(bf, size, "\"%.*s\"", augmented_arg->size, augmented_arg->value); in syscall_arg__scnprintf_augmented_string()
1756 int consumed = sizeof(*augmented_arg) + augmented_arg->size; in syscall_arg__scnprintf_augmented_string()
1784 struct augmented_arg *augmented_arg = arg->augmented.args; in syscall_arg__scnprintf_buf() local
1785 unsigned char *orig = (unsigned char *)augmented_arg->value; in syscall_arg__scnprintf_buf()
1789 if (augmented_arg == NULL) in syscall_arg__scnprintf_buf()
1792 for (int j = 0; j < augmented_arg->size; ++j) { in syscall_arg__scnprintf_buf()
1798 consumed = sizeof(*augmented_arg) + augmented_arg->size; in syscall_arg__scnprintf_buf()