diff options
author | David Ahern <dsahern@gmail.com> | 2013-08-07 22:50:46 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-08-12 09:31:06 -0400 |
commit | 4a957e4df1a212c447fd162d18dc7ee6320c1621 (patch) | |
tree | f759142334ef4c13be32018fe02bd51ae7f5a385 /tools | |
parent | ffb273dd7e3bd72e7d964fc0a0f6d441aceb7dae (diff) |
perf sched: Remove sched_process_exit tracepoint
Event is not needed nor analyzed. Since perf-sched leverages perf-record
to capture the sched data, we already capture task events like EXIT.
Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1375930261-77273-5-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-sched.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 52850240583a..42f45873d8f0 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c | |||
@@ -1392,15 +1392,6 @@ static int process_sched_fork_event(struct perf_tool *tool, | |||
1392 | return 0; | 1392 | return 0; |
1393 | } | 1393 | } |
1394 | 1394 | ||
1395 | static int process_sched_exit_event(struct perf_tool *tool __maybe_unused, | ||
1396 | struct perf_evsel *evsel, | ||
1397 | struct perf_sample *sample __maybe_unused, | ||
1398 | struct machine *machine __maybe_unused) | ||
1399 | { | ||
1400 | pr_debug("sched_exit event %p\n", evsel); | ||
1401 | return 0; | ||
1402 | } | ||
1403 | |||
1404 | static int process_sched_migrate_task_event(struct perf_tool *tool, | 1395 | static int process_sched_migrate_task_event(struct perf_tool *tool, |
1405 | struct perf_evsel *evsel, | 1396 | struct perf_evsel *evsel, |
1406 | struct perf_sample *sample, | 1397 | struct perf_sample *sample, |
@@ -1447,7 +1438,6 @@ static int perf_sched__read_events(struct perf_sched *sched, | |||
1447 | { "sched:sched_wakeup", process_sched_wakeup_event, }, | 1438 | { "sched:sched_wakeup", process_sched_wakeup_event, }, |
1448 | { "sched:sched_wakeup_new", process_sched_wakeup_event, }, | 1439 | { "sched:sched_wakeup_new", process_sched_wakeup_event, }, |
1449 | { "sched:sched_process_fork", process_sched_fork_event, }, | 1440 | { "sched:sched_process_fork", process_sched_fork_event, }, |
1450 | { "sched:sched_process_exit", process_sched_exit_event, }, | ||
1451 | { "sched:sched_migrate_task", process_sched_migrate_task_event, }, | 1441 | { "sched:sched_migrate_task", process_sched_migrate_task_event, }, |
1452 | }; | 1442 | }; |
1453 | struct perf_session *session; | 1443 | struct perf_session *session; |
@@ -1634,7 +1624,6 @@ static int __cmd_record(int argc, const char **argv) | |||
1634 | "-e", "sched:sched_stat_sleep", | 1624 | "-e", "sched:sched_stat_sleep", |
1635 | "-e", "sched:sched_stat_iowait", | 1625 | "-e", "sched:sched_stat_iowait", |
1636 | "-e", "sched:sched_stat_runtime", | 1626 | "-e", "sched:sched_stat_runtime", |
1637 | "-e", "sched:sched_process_exit", | ||
1638 | "-e", "sched:sched_process_fork", | 1627 | "-e", "sched:sched_process_fork", |
1639 | "-e", "sched:sched_wakeup", | 1628 | "-e", "sched:sched_wakeup", |
1640 | "-e", "sched:sched_migrate_task", | 1629 | "-e", "sched:sched_migrate_task", |