summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDongsheng <yangds.fnst@cn.fujitsu.com>2014-05-05 09:05:53 +0200
committerJiri Olsa <jolsa@kernel.org>2014-05-12 10:01:41 +0200
commit7fff959783949b2f50454c49e325697073f48dc0 (patch)
tree7c268bce8996ca6b2085d29b35c26d2eec436c9e /tools
parentMerge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-7fff959783949b2f50454c49e325697073f48dc0.tar.xz
linux-7fff959783949b2f50454c49e325697073f48dc0.zip
perf tools: Add missing event for perf sched record.
We should record and process sched:sched_wakeup_new event in perf sched tool, but currently, there is the process function for it, without recording it in record subcommand. This patch add -e sched:sched_wakeup_new to perf sched record. Signed-off-by: Dongsheng <yangds.fnst@cn.fujitsu.com> Link: http://lkml.kernel.org/r/710c6edd2162b2cea1711443f54de47c0210d9fd.1399273302.git.yangds.fnst@cn.fujitsu.com Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
index d3fb0ed7240a..7eae5011b690 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -1635,6 +1635,7 @@ static int __cmd_record(int argc, const char **argv)
"-e", "sched:sched_stat_runtime",
"-e", "sched:sched_process_fork",
"-e", "sched:sched_wakeup",
+ "-e", "sched:sched_wakeup_new",
"-e", "sched:sched_migrate_task",
};