aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/examples/bpf/augmented_raw_syscalls.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-05-23 13:21:36 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-05-28 18:37:42 -0300
commit8a70c6b162e3112ce87b40b1705da5c4e7566ac8 (patch)
treef49ba70f709081711fb4bf220aa7174d0b022c01 /tools/perf/examples/bpf/augmented_raw_syscalls.c
parentperf tools: Preserve eBPF maps when loading kcore (diff)
downloadlinux-dev-8a70c6b162e3112ce87b40b1705da5c4e7566ac8.tar.xz
linux-dev-8a70c6b162e3112ce87b40b1705da5c4e7566ac8.zip
perf augmented_raw_syscalls: Fix up comment
Cut'n'paste error, the second comment is about the syscalls that have as its second arg a string. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-zo5s6rloy42u41acsf6q3pvi@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/examples/bpf/augmented_raw_syscalls.c')
-rw-r--r--tools/perf/examples/bpf/augmented_raw_syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/examples/bpf/augmented_raw_syscalls.c b/tools/perf/examples/bpf/augmented_raw_syscalls.c
index 2422894a8194..b292e763f3c7 100644
--- a/tools/perf/examples/bpf/augmented_raw_syscalls.c
+++ b/tools/perf/examples/bpf/augmented_raw_syscalls.c
@@ -87,7 +87,7 @@ struct augmented_filename {
#define SYS_SYMLINKAT 266
#define SYS_MEMFD_CREATE 319
-/* syscalls where the first arg is a string */
+/* syscalls where the second arg is a string */
#define SYS_PWRITE64 18
#define SYS_EXECVE 59