diff options
author | Jiri Olsa <[email protected]> | 2014-02-03 12:44:41 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-02-18 09:34:46 -0300 |
commit | bc5290869d0a7f7abbde76ac95a7f7b6f5d7bb7b (patch) | |
tree | d24f4d177fdd40dafa62ce171c5d1c9e5f26bb7f /lib/test-string_helpers.c | |
parent | 106395dfda0397a6a88cc309bb7beb1fdf2ed798 (diff) |
perf tools: Put proper period for for samples without PERIOD sample_type
We use PERF_SAMPLE_PERIOD sample type only for frequency
setup -F (default) option. The -c does not need store period,
because it's always the same.
In -c case the report code uses '1' as period. Fixing
it to perf_event_attr::sample_period.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions