diff options
author | Alexander Shishkin <[email protected]> | 2016-04-06 17:35:07 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-04-13 10:49:23 +0200 |
commit | e465de1cd5e1759e40f077bac287de60d56ad06c (patch) | |
tree | 47a1a3f9bd2f87cc4efc86ea35f5cd56413a0e05 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dac429874d8156d97460c61049e202b2dcc15df8 (diff) |
perf/x86/intel/pt: Use boot_cpu_has() because it's there
At the moment, initialization path is using test_cpu_cap(&boot_cpu_data),
to detect PT, which is just open coding boot_cpu_has(). Use the latter
instead.
Signed-off-by: Alexander Shishkin <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/1459953307-14372-1-git-send-email-alexander.shishkin@linux.intel.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions