Jiri Olsa
85e37de3a9
perf python: Put perf.event objects into dictionary
...
Make perf.event object parts of the perf module dictionary so we can
address them by name.
The following objects/names are added:
mmap_event
lost_event
comm_event
task_event
throttle_event
task_event
read_event
sample_event
switch_event
We can now use it in python script like:
...
event = evlist.read_on_cpu(cpu)
...
if not isinstance(event, perf.sample_event):
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1468148882-10362-6-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-07-12 16:17:14 -03:00
..
2016-07-12 15:20:32 -03:00
2016-07-12 15:20:41 -03:00
2016-06-23 10:30:31 -03:00
2016-07-12 15:20:39 -03:00
2016-07-12 15:19:58 -03:00
2016-06-30 18:27:42 -03:00
2016-06-27 14:25:05 -03:00
2016-03-30 11:14:09 -03:00
2016-06-23 17:02:59 -03:00
2016-07-12 15:19:47 -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-07-12 16:12:38 -03:00
2016-07-12 15:20:41 -03:00
2016-07-01 11:34:57 -03:00
2016-07-12 15:19:58 -03:00
2016-05-06 13:00:43 -03:00
2016-05-06 13:00:43 -03:00
2016-05-05 21:03:59 -03:00
2016-07-04 19:39:01 -03:00
2016-06-23 11:26:15 -03:00
2016-03-23 15:06:35 -03:00
2016-07-12 15:20:34 -03:00
2016-03-23 15:06:35 -03:00
2016-07-12 15:20:24 -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-06-23 17:20:04 -03:00
2016-06-23 17:20:04 -03:00
2015-08-08 14:16:49 -03:00
2015-08-08 14:16:49 -03:00
2016-06-30 18:27:45 -03:00
2016-06-30 18:27:45 -03:00
2016-02-24 20:21:12 -03:00
2016-06-28 10:54:58 -03:00
2016-06-28 10:54:55 -03:00
2016-06-28 10:54:56 -03:00
2016-07-12 15:19:47 -03:00
2016-04-14 08:57:54 -03:00
2016-05-30 12:41:43 -03:00
2016-05-06 13:00:53 -03:00
2016-02-24 11:38:01 -03:00
2016-07-12 15:19:47 -03:00
2016-02-05 09:46:45 -03:00
2016-02-05 09:46:45 -03:00
2016-07-12 16:12:38 -03:00
2016-07-12 16:12:38 -03:00
2016-07-12 15:19:47 -03:00
2016-07-12 15:20:24 -03:00
2016-05-12 11:26:59 -03:00
2016-03-23 15:06:35 -03:00
2016-07-04 19:39:01 -03:00
2016-07-04 19:39:01 -03:00
2016-06-30 18:27:45 -03:00
2016-07-12 15:20:31 -03:00
2016-07-12 16:13:58 -03:00
2016-07-12 16:13:58 -03:00
2016-04-14 19:46:58 -03:00
2016-07-12 15:19:59 -03:00
2016-07-12 15:19:59 -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-06-06 17:04:15 -03:00
2016-07-04 19:39:01 -03:00
2016-03-23 12:03:04 -03:00
2016-07-12 15:20:24 -03:00
2015-12-14 12:30:37 -03:00
2016-07-12 00:00:39 -03:00
2016-07-12 00:00:39 -03:00
2016-06-23 17:02:59 -03:00
2015-08-21 11:34:10 -03:00
2016-06-23 17:02:59 -03:00
2015-08-24 17:46:43 -03:00
2013-10-14 10:28:48 -03:00
2016-06-23 11:39:19 -03:00
2016-03-23 15:06:35 -03:00
2016-06-23 11:26:15 -03:00
2016-04-01 18:42:55 -03:00
2016-01-29 17:49:54 -03:00
2016-07-12 15:19:58 -03:00
2016-07-12 15:19:58 -03:00
2016-06-21 13:18:34 -03:00
2015-03-21 14:53:40 -03:00
2016-06-22 10:19:11 -03:00
2016-05-20 11:43:54 -03:00
2016-07-04 20:27:25 -03:00
2016-07-04 20:27:25 -03:00
2016-06-15 10:35:27 -03:00
2016-06-15 10:35:27 -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-06-23 11:26:15 -03:00
2016-05-30 12:41:44 -03:00
2016-06-06 17:04:15 -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-07-12 15:19:58 -03:00
2016-05-11 21:54:06 +10:00
2015-09-30 18:34:27 -03:00
2013-11-07 10:40:47 -03:00
2016-05-10 11:57:52 -03:00
2015-08-06 16:49:01 -03:00
2013-02-14 16:12:34 -03:00
2016-07-12 15:19:47 -03:00
2016-06-15 14:34:42 -03:00
2016-07-12 15:20:41 -03:00
2016-07-04 19:39:00 -03:00
2016-07-12 15:19:47 -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-07-12 15:20:24 -03:00
2016-07-12 16:17:14 -03:00
2016-07-12 15:19:55 -03:00
2016-07-12 15:19:55 -03:00
2016-06-23 11:35:07 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2016-06-23 11:26:15 -03:00
2016-06-23 11:26:15 -03:00
2016-04-13 10:11:52 -03:00
2016-02-29 11:18:25 -03:00
2016-06-23 11:26:15 -03:00
2016-07-12 00:00:39 -03:00
2015-09-02 16:30:46 -03:00
2016-06-06 17:04:16 -03:00
2016-06-23 11:26:15 -03:00
2016-06-06 17:04:16 -03:00
2016-07-12 15:19:55 -03:00
2016-07-12 15:19:55 -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-06-23 11:35:01 -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-07-12 16:12:38 -03:00
2015-10-28 10:02:00 -03:00
2016-06-28 10:54:54 -03:00
2016-07-04 19:38:59 -03:00
2016-04-08 09:58:14 -03:00
2016-04-08 09:58:14 -03:00
2016-07-12 15:19:58 -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
2016-06-23 11:35:01 -03:00
2016-04-13 10:11:51 -03:00
2016-06-23 17:04:26 -03:00
2016-06-23 17:04:26 -03:00
2016-07-04 20:27:25 -03:00
2016-06-07 12:08:52 -03:00
2016-03-31 10:52:24 -03:00
2013-12-19 14:43:45 -03:00
2016-05-20 11:43:55 -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-07-12 16:14:52 -03:00
2016-07-12 16:14:52 -03:00
2016-04-28 09:58:58 -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-06-23 10:30:17 -03:00
2016-07-04 20:27:12 -03:00
2016-07-04 20:27:12 -03:00
2016-03-23 12:32:31 -03:00
2016-07-04 19:39:01 -03:00
2016-07-12 15:20:35 -03:00
2013-12-27 17:08:19 -03:00
2014-05-01 21:22:39 +02:00
2016-06-23 10:25:58 -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