Jiri Olsa
6acd8e9271
perf stat: Clear sample_(type|period) for counting
...
Clear sample_(type|period) for counting, as it only confuses debug
output with unwanted sampling details:
Before:
$ sudo perf stat -e 'raw_syscalls:sys_enter' -vv ls
------------------------------------------------------------
perf_event_attr:
type 2
size 112
config 0x11
{ sample_period, sample_freq } 1
sample_type TIME|CPU|PERIOD|RAW
read_format TOTAL_TIME_ENABLED|TOTAL_TIME_RUNNING
disabled 1
inherit 1
enable_on_exec 1
exclude_guest 1
...
After:
$ sudo perf stat -e 'raw_syscalls:sys_enter' -vv ls
------------------------------------------------------------
perf_event_attr:
type 2
size 112
config 0x11
read_format TOTAL_TIME_ENABLED|TOTAL_TIME_RUNNING
disabled 1
inherit 1
enable_on_exec 1
exclude_guest 1
...
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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/1448465815-27404-1-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-11-26 16:52:28 -03:00
..
2015-05-08 16:11:05 -03:00
2015-11-26 16:32:24 -03:00
2015-08-05 11:44:29 -07:00
2015-08-16 10:51:26 +01:00
2015-11-18 17:51:02 -03:00
2015-06-08 16:42:07 -06:00
2015-08-26 06:12:35 +02:00
2015-11-25 16:38:13 -03:00
2015-11-15 17:24:33 -05:00
2015-11-26 16:52:28 -03:00
2015-11-16 22:57:02 +01:00
2015-11-12 09:21:18 -08:00
2015-10-10 11:32:31 +08:00
2015-10-22 17:19:33 -07:00
2015-09-16 12:48:07 +03:00
2015-11-20 16:17:32 -08:00
2015-11-18 17:46:29 -03:00