Namhyung Kim
775d8a1b0d
perf evlist: Add --trace-fields option to show trace fields
To use dynamic sort keys, it might be good to add an option to see the
list of field names.
$ perf evlist -i perf.data.sched
sched:sched_switch
sched:sched_stat_wait
sched:sched_stat_sleep
sched:sched_stat_iowait
sched:sched_stat_runtime
sched:sched_process_fork
sched:sched_wakeup
sched:sched_wakeup_new
sched:sched_migrate_task
# Tip: use 'perf evlist --trace-fields' to show fields for tracepoint events
$ perf evlist -i perf.data.sched --trace-fields
sched:sched_switch: trace_fields: prev_comm,prev_pid,prev_prio,prev_state,next_comm,next_pid,next_prio
sched:sched_stat_wait: trace_fields: comm,pid,delay
sched:sched_stat_sleep: trace_fields: comm,pid,delay
sched:sched_stat_iowait: trace_fields: comm,pid,delay
sched:sched_stat_runtime: trace_fields: comm,pid,runtime,vruntime
sched:sched_process_fork: trace_fields: parent_comm,parent_pid,child_comm,child_pid
sched:sched_wakeup: trace_fields: comm,pid,prio,success,target_cpu
sched:sched_wakeup_new: trace_fields: comm,pid,prio,success,target_cpu
sched:sched_migrate_task: trace_fields: comm,pid,prio,orig_cpu,dest_cpu
Committer notes:
For another file, in verbose mode:
# perf evlist -v --trace-fields
sched:sched_switch: type: 2, size: 112, config: 0x10b, { sample_period, sample_freq }: 1, sample_type: IP|TID|TIME|CPU|PERIOD|RAW, disabled: 1, inherit: 1, mmap: 1, comm: 1, task: 1, sample_id_all: 1, exclude_guest: 1, mmap2: 1, comm_exec: 1, trace_fields: prev_comm,prev_pid,prev_prio,prev_state,next_comm,next_pid,next_prio
#
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1452125549-1511-5-git-send-email-namhyung@kernel.org
[ Replaced 'trace_fields=' with 'trace_fields: ' to make the output consistent in -v mode ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-01-08 14:23:02 -03:00
..
2016-01-08 12:35:46 -03:00
2015-09-28 16:45:26 -03:00
2016-01-06 20:11:16 -03:00
2013-12-27 15:17:00 -03:00
2015-12-07 18:13:00 -03:00
2015-10-05 16:15:38 -03:00
2015-12-17 14:27:14 -03:00
2015-09-28 16:53:44 -03:00
2015-11-27 22:00:46 -03:00
2015-11-27 22:00:46 -03:00
2015-11-18 17:51:04 -03:00
2015-11-18 17:51:04 -03:00
2016-01-08 12:35:46 -03:00
2015-11-27 12:24:46 -03:00
2015-08-28 14:53:50 -03:00
2015-12-17 14:27:14 -03:00
2016-01-08 12:37:51 -03:00
2016-01-08 12:37:51 -03:00
2015-12-17 14:27:14 -03:00
2015-05-15 16:12:20 -03:00
2015-06-25 12:28:35 -03:00
2015-08-05 16:56:16 -03:00
2015-12-09 13:42:02 -03:00
2015-08-05 16:44:02 -03:00
2015-05-27 12:21:43 -03:00
2014-10-29 10:32:49 -02:00
2015-12-17 14:27:14 -03:00
2015-08-08 14:16:49 -03:00
2015-08-08 14:16:49 -03:00
2016-01-06 20:11:16 -03:00
2015-12-17 14:38:18 -03:00
2015-12-11 09:12:09 -03:00
2015-04-02 13:18:52 -03:00
2014-08-15 10:58:35 -03:00
2013-12-02 09:22:46 -03:00
2015-05-29 12:43:39 -03:00
2015-04-02 13:18:43 -03:00
2015-08-06 15:30:38 -03:00
2015-08-06 15:30:38 -03:00
2015-11-19 13:19:20 -03:00
2015-11-13 11:14:36 -03:00
2015-08-13 14:51:26 -03:00
2015-05-14 10:05:09 -03:00
2015-12-09 13:42:03 -03:00
2015-09-14 12:50:28 -03:00
2015-12-17 15:10:16 -03:00
2015-12-17 15:13:38 -03:00
2016-01-08 14:15:43 -03:00
2016-01-08 14:15:43 -03:00
2016-01-08 14:23:02 -03:00
2016-01-08 14:23:02 -03:00
2014-10-29 10:32:48 -02:00
2016-01-08 12:46:17 -03:00
2015-12-17 15:15:14 -03:00
2015-12-17 15:15:14 -03:00
2015-12-17 14:27:14 -03:00
2015-12-14 12:30:37 -03:00
2016-01-08 12:59:48 -03:00
2016-01-08 12:59:48 -03:00
2015-09-02 17:46:26 -03:00
2015-08-21 11:34:10 -03:00
2015-12-14 12:08:55 -03:00
2015-08-24 17:46:43 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2015-04-02 13:18:47 -03:00
2015-11-06 15:57:18 -03:00
2015-08-07 10:57:24 -03:00
2015-03-21 14:53:40 -03:00
2015-12-14 12:08:55 -03:00
2015-09-30 18:34:29 -03:00
2015-12-09 13:42:00 -03:00
2015-09-30 18:34:25 -03:00
2015-08-24 17:16:22 -03:00
2015-03-31 17:52:32 -03:00
2015-12-17 14:27:14 -03:00
2015-05-27 21:02:17 -03:00
2015-12-17 14:27:14 -03:00
2015-10-29 17:16:23 -03:00
2015-10-29 17:16:23 -03:00
2015-10-29 17:16:23 -03:00
2015-12-17 14:27:14 -03:00
2015-08-31 18:01:33 -03:00
2015-12-16 16:09:39 -03:00
2015-09-30 18:34:27 -03:00
2015-09-30 18:34:27 -03:00
2013-11-07 10:40:47 -03:00
2016-01-06 20:11:16 -03:00
2015-08-06 16:49:01 -03:00
2015-11-18 17:51:04 -03:00
2015-09-15 09:48:32 -03:00
2015-11-11 18:41:32 -03:00
2015-09-04 12:43:44 -03:00
2015-11-25 16:36:35 -03:00
2015-05-08 16:26:26 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2016-01-08 12:35:46 -03:00
2015-10-07 19:41:50 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2015-08-17 11:08:37 -03:00
2015-12-17 15:15:17 -03:00
2015-12-10 16:28:58 -03:00
2015-02-12 17:55:18 -03:00
2016-01-08 12:58:58 -03:00
2016-01-08 12:58:04 -03:00
2015-09-02 16:30:46 -03:00
2015-11-04 15:11:41 -03:00
2015-12-17 15:09:38 -03:00
2015-12-17 15:09:38 -03:00
2015-10-27 09:28:44 -03:00
2015-10-27 09:28:44 -03:00
2015-05-04 12:43:54 -03:00
2015-05-04 12:43:54 -03:00
2015-11-18 17:51:02 -03:00
2015-07-20 14:51:07 -03:00
2015-07-20 14:51:07 -03:00
2015-06-25 15:15:50 -03:00
2014-07-10 00:22:54 +02:00
2015-12-10 16:29:32 -03:00
2015-10-28 10:02:00 -03:00
2016-01-08 12:41:37 -03:00
2016-01-06 20:11:12 -03:00
2015-03-24 12:08:30 -03:00
2013-12-04 13:46:37 -03:00
2015-12-09 13:42:02 -03:00
2015-12-09 13:42:02 -03:00
2015-12-17 14:38:16 -03:00
2015-12-17 14:38:16 -03:00
2015-06-19 16:03:33 -03:00
2015-06-19 16:03:33 -03:00
2015-12-14 12:08:55 -03:00
2015-05-18 10:17:33 -03:00
2015-12-17 15:10:16 -03:00
2013-12-19 14:43:45 -03:00
2014-05-01 21:22:39 +02:00
2015-09-04 12:00:45 -03:00
2015-07-23 22:51:11 -03:00
2015-07-23 22:51:11 -03:00
2015-04-02 13:18:41 -03:00
2015-09-15 09:48:33 -03:00
2016-01-06 20:11:15 -03:00
2014-07-23 11:48:11 -03:00
2014-07-23 11:48:11 -03:00
2016-01-08 14:16:57 -03:00
2015-11-23 18:31:13 -03:00
2016-01-08 14:16:34 -03:00
2014-10-29 10:32:46 -02:00
2015-10-19 14:58:10 -03:00
2016-01-08 13:15:46 -03:00
2016-01-08 13:15:46 -03:00
2013-12-27 17:08:19 -03:00
2014-05-01 21:22:39 +02:00
2015-07-07 11:05:08 -03:00
2015-05-29 12:43:44 -03:00
2015-06-16 10:34:39 -03:00
2015-06-16 10:34:39 -03:00
2014-11-05 10:11:26 -03:00