[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-88vh02cnkam0vv5f9vp02o3h@git.kernel.org>
Date: Wed, 21 Nov 2018 23:07:45 -0800
From: tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, linux-kernel@...r.kernel.org, jolsa@...nel.org,
namhyung@...nel.org, tglx@...utronix.de, adrian.hunter@...el.com,
wangnan0@...wei.com, acme@...hat.com, dsahern@...il.com,
hpa@...or.com
Subject: [tip:perf/core] Revert "perf augmented_syscalls: Drop 'write',
'poll' for testing without self pid filter"
Commit-ID: 4aa792de0b136edbde777d3d69c6fe8cdd8cda72
Gitweb: https://git.kernel.org/tip/4aa792de0b136edbde777d3d69c6fe8cdd8cda72
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Wed, 7 Nov 2018 10:54:06 -0300
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Wed, 21 Nov 2018 12:00:31 -0300
Revert "perf augmented_syscalls: Drop 'write', 'poll' for testing without self pid filter"
Now that we have the "filtered_pids" logic in place, no need to do this
rough filter to avoid the feedback loop from 'perf trace's own syscalls,
revert it.
This reverts commit 7ed71f124284359676b6496ae7db724fee9da753.
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Wang Nan <wangnan0@...wei.com>
Link: https://lkml.kernel.org/n/tip-88vh02cnkam0vv5f9vp02o3h@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/examples/bpf/augmented_raw_syscalls.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/tools/perf/examples/bpf/augmented_raw_syscalls.c b/tools/perf/examples/bpf/augmented_raw_syscalls.c
index 3f26e705b86c..74ce7574073d 100644
--- a/tools/perf/examples/bpf/augmented_raw_syscalls.c
+++ b/tools/perf/examples/bpf/augmented_raw_syscalls.c
@@ -44,9 +44,7 @@ struct augmented_filename {
char value[256];
};
-#define SYS_WRITE 1
#define SYS_OPEN 2
-#define SYS_POLL 7
#define SYS_OPENAT 257
pid_filter(pids_filtered);
@@ -106,8 +104,6 @@ int sys_enter(struct syscall_enter_args *args)
* after the ctx memory access to prevent their down stream merging.
*/
switch (augmented_args.args.syscall_nr) {
- case SYS_WRITE:
- case SYS_POLL: return 0;
case SYS_OPEN: filename_arg = (const void *)args->args[0];
__asm__ __volatile__("": : :"memory");
break;
Powered by blists - more mailing lists