Arnaldo Carvalho de Melo
a213b92e15
perf evlist: Decode perf_event_attr->branch_sample_type
...
While trying to use --call-graph lbr in 'perf trace', since we only are
interested in the callchain for userspace, up to the callchain, I found
that 'perf evlist' is not decoding the branch_sample_type field, fix it.
Before:
# perf record --call-graph lbr usleep 1
# perf evlist -v
cycles:ppp: size: 112, { sample_period, sample_freq }: 4000,
sample_type: IP|TID|TIME|CALLCHAIN|CPU|PERIOD|BRANCH_STACK,
disabled: 1, inherit: 1, mmap: 1, comm: 1, freq: 1, task: 1,
precise_ip: 3, sample_id_all: 1, exclude_guest: 1, mmap2: 1,
comm_exec: 1, branch_sample_type: 51201
^^^^^^^^^^^^^^^^^^^^^^^^^
After:
# perf evlist -v
cycles:ppp: size: 112, { sample_period, sample_freq }: 4000,
sample_type: IP|TID|TIME|CALLCHAIN|CPU|PERIOD|BRANCH_STACK,
disabled: 1, inherit: 1, mmap: 1, comm: 1, freq: 1, task: 1,
precise_ip: 3, sample_id_all: 1, exclude_guest: 1, mmap2: 1,
comm_exec: 1, branch_sample_type: USER|CALL_STACK|NO_FLAGS|NO_CYCLES
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-hozai7974u0ulgx13k96fcaw@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-04-25 16:48:01 -03:00
..
2016-01-08 12:35:46 -03:00
2016-03-03 16:13:00 +01:00
2016-04-14 14:48:07 -03:00
2015-12-07 18:13:00 -03:00
2016-03-23 12:03:04 -03:00
2016-03-30 11:14:09 -03:00
2016-03-30 11:14:09 -03:00
2016-04-11 22:18:04 -03:00
2016-04-11 22:17:45 -03:00
2015-11-18 17:51:04 -03:00
2015-11-18 17:51:04 -03:00
2016-04-19 12:37:02 -03:00
2016-04-25 12:49:16 -03:00
2016-02-12 10:54:47 -03:00
2016-03-23 17:39:19 -03:00
2016-04-18 11:53:07 -03:00
2016-04-15 16:37:17 -03:00
2015-12-17 14:27:14 -03:00
2016-03-23 15:06:35 -03:00
2015-06-25 12:28:35 -03:00
2016-03-23 15:06:35 -03:00
2016-02-26 19:49:16 -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
2016-04-14 09:00:42 -03:00
2016-04-14 09:00:42 -03:00
2015-08-08 14:16:49 -03:00
2015-08-08 14:16:49 -03:00
2016-04-13 10:11:50 -03:00
2016-04-13 10:11:50 -03:00
2016-02-24 20:21:12 -03:00
2016-03-23 12:03:04 -03:00
2015-04-02 13:18:52 -03:00
2016-04-14 08:57:54 -03:00
2016-04-14 08:57:54 -03:00
2016-03-23 12:03:08 -03:00
2015-04-02 13:18:43 -03:00
2016-02-24 11:38:01 -03:00
2016-02-16 17:12:59 -03:00
2016-02-05 09:46:45 -03:00
2016-02-05 09:46:45 -03:00
2016-01-26 11:52:43 -03:00
2016-03-23 12:03:04 -03:00
2016-04-06 10:44:28 -03:00
2016-03-23 15:06:35 -03:00
2016-02-16 17:13:00 -03:00
2016-02-16 17:13:00 -03:00
2016-04-08 11:32:15 -03:00
2016-03-31 10:52:24 -03:00
2016-04-15 17:46:31 -03:00
2016-04-15 17:46:31 -03:00
2016-04-14 19:46:58 -03:00
2016-04-25 16:48:01 -03:00
2016-04-18 11:17:09 -03:00
2014-10-29 10:32:48 -02:00
2016-02-05 12:33:09 -03:00
2016-02-05 12:33:09 -03:00
2016-03-30 18:12:06 -03:00
2016-01-08 12:46:17 -03:00
2016-03-11 13:45:04 -03:00
2016-03-23 12:03:04 -03:00
2016-02-26 19:49:16 -03:00
2015-12-14 12:30:37 -03:00
2016-04-14 14:48:07 -03:00
2016-03-30 11:14:07 -03:00
2016-03-30 11:14:09 -03:00
2015-08-21 11:34:10 -03:00
2016-04-23 14:12:10 +02:00
2015-08-24 17:46:43 -03:00
2016-03-23 15:06:35 -03:00
2016-04-19 12:37:01 -03:00
2016-04-01 18:42:55 -03:00
2016-01-29 17:49:54 -03:00
2016-03-23 17:42:21 -03:00
2016-03-23 15:06:35 -03:00
2015-03-21 14:53:40 -03:00
2016-04-19 12:38:56 -03:00
2016-04-19 12:38:56 -03:00
2016-04-08 09:58:14 -03:00
2015-09-30 18:34:25 -03:00
2016-02-24 10:32:11 -03:00
2016-02-24 10:32:11 -03:00
2016-04-14 08:57:54 -03:00
2016-04-14 08:57:54 -03:00
2015-12-17 14:27:14 -03:00
2015-05-27 21:02:17 -03:00
2016-04-08 11:53:02 -03:00
2016-03-23 15:06:35 -03:00
2016-02-22 14:37:21 -03:00
2016-03-08 10:11:16 +01:00
2015-12-17 14:27:14 -03:00
2015-08-31 18:01:33 -03:00
2016-03-23 15:27:33 -03:00
2015-09-30 18:34:27 -03:00
2015-09-30 18:34:27 -03:00
2016-04-01 18:46:24 -03:00
2015-08-06 16:49:01 -03:00
2016-03-23 16:53:05 -03:00
2016-03-23 15:06:35 -03:00
2015-11-11 18:41:32 -03:00
2015-09-04 12:43:44 -03:00
2016-03-23 16:53:05 -03:00
2016-03-23 15:06:35 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2016-04-14 19:46:53 -03:00
2015-10-07 19:41:50 -03:00
2016-03-23 15:06:35 -03:00
2016-04-11 22:18:20 -03:00
2016-04-18 11:17:09 -03:00
2016-04-13 10:11:52 -03:00
2016-02-29 11:18:25 -03:00
2016-03-23 12:03:04 -03:00
2016-03-10 16:47:19 -03:00
2015-09-02 16:30:46 -03:00
2016-03-23 12:03:04 -03:00
2016-02-04 08:57:44 +01:00
2016-03-03 11:10:40 -03:00
2016-03-23 17:09:53 -03:00
2016-03-23 17:09:53 -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
2016-01-12 12:42:07 -03:00
2016-01-12 12:42:07 -03:00
2015-06-25 15:15:50 -03:00
2016-03-23 15:06:35 -03:00
2016-04-14 19:46:53 -03:00
2016-04-08 09:58:15 -03:00
2015-10-28 10:02:00 -03:00
2016-04-19 12:38:56 -03:00
2016-04-19 12:38:56 -03:00
2016-04-08 09:58:14 -03:00
2016-04-08 09:58:14 -03:00
2015-03-24 12:08:30 -03:00
2015-12-09 13:42:02 -03:00
2015-12-09 13:42:02 -03:00
2016-04-13 10:11:51 -03:00
2016-04-13 10:11:51 -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
2016-04-08 09:58:02 -03:00
2016-03-31 10:52:24 -03:00
2015-09-04 12:00:45 -03:00
2015-12-11 11:52:24 -08:00
2015-07-23 22:51:11 -03:00
2015-04-02 13:18:41 -03:00
2016-02-16 17:12:56 -03:00
2016-01-06 20:11:15 -03:00
2016-03-08 10:11:18 +01:00
2016-04-01 18:42:55 -03:00
2016-01-08 14:16:57 -03:00
2015-11-23 18:31:13 -03:00
2016-04-08 09:58:02 -03:00
2014-10-29 10:32:46 -02:00
2016-03-23 12:32:31 -03:00
2016-02-24 11:38:01 -03:00
2016-04-07 10:21:49 -03:00
2015-07-07 11:05:08 -03:00
2015-05-29 12:43:44 -03:00
2016-03-23 15:27:33 -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