projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'io_uring-5.5-20191226' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git]
/
samples
/
bpf
/
trace_event_user.c
diff --git
a/samples/bpf/trace_event_user.c
b/samples/bpf/trace_event_user.c
index
16a16ea
..
749a50f
100644
(file)
--- a/
samples/bpf/trace_event_user.c
+++ b/
samples/bpf/trace_event_user.c
@@
-37,9
+37,9
@@
static void print_ksym(__u64 addr)
}
printf("%s;", sym->name);
- if (!str
cmp
(sym->name, "sys_read"))
+ if (!str
str
(sym->name, "sys_read"))
sys_read_seen = true;
- else if (!str
cmp
(sym->name, "sys_write"))
+ else if (!str
str
(sym->name, "sys_write"))
sys_write_seen = true;
}