mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 23:23:03 +00:00
perf trace: Mark bpf's attr as from_user
This one has no specific pretty printer right now, so will be handled by the generic BTF based one later in this patch series. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
c790f2bafb
commit
d92f490cba
@ -1078,7 +1078,8 @@ static const struct syscall_fmt syscall_fmts[] = {
|
||||
[1] = SCA_SOCKADDR_FROM_USER(umyaddr),
|
||||
[2] = { .scnprintf = SCA_INT, /* addrlen */ }, }, },
|
||||
{ .name = "bpf",
|
||||
.arg = { [0] = STRARRAY(cmd, bpf_cmd), }, },
|
||||
.arg = { [0] = STRARRAY(cmd, bpf_cmd),
|
||||
[1] = { .from_user = true /* attr */, }, } },
|
||||
{ .name = "brk", .hexret = true,
|
||||
.arg = { [0] = { .scnprintf = SCA_PTR, /* brk */ }, }, },
|
||||
{ .name = "clock_gettime",
|
||||
|
Loading…
Reference in New Issue
Block a user