perf tools: Add missing event for perf sched record.
authorDongsheng <yangds.fnst@cn.fujitsu.com>
Mon, 5 May 2014 07:05:53 +0000 (16:05 +0900)
committerJiri Olsa <jolsa@kernel.org>
Mon, 12 May 2014 08:01:41 +0000 (10:01 +0200)
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>
tools/perf/builtin-sched.c

index d3fb0ed7240a5305a6736c0cbbbd3a177578e157..7eae5011b690d641f195e65762a772f1a145a1ad 100644 (file)
@@ -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",
        };