diff options
author | Juergen Gross <[email protected]> | 2016-08-01 13:37:07 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-08-01 14:30:34 +0200 |
commit | 005bd0077a79c4bcfe64e7331b275e12f742093f (patch) | |
tree | 2bfb6b0be05fc5b7df799e6a78412822094bf3c3 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | d761f3ed6e71bcca724a6e9e39efcac65b7b4ac1 (diff) |
perf/x86: Modify error message in virtualized environment
It is known that PMU isn't working in some virtualized environments.
Modify the message issued in that case to mention why hardware PMU
isn't usable instead of reporting it to be broken.
As a side effect this will correct a little bug in the error message:
The error message was meant to be either of level err or info
depending on the environment (native or virtualized). As the level is
taken from the format string and not the printed string, specifying
it via %s and a conditional argument didn't work the way intended.
Signed-off-by: Juergen Gross <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions