diff options
| -rw-r--r-- | arch/x86/oprofile/op_x86_model.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h index 59fa2bdb0da3..ff82a755edd4 100644 --- a/arch/x86/oprofile/op_x86_model.h +++ b/arch/x86/oprofile/op_x86_model.h | |||
| @@ -59,6 +59,15 @@ struct op_counter_config; | |||
| 59 | 59 | ||
| 60 | static inline void op_x86_warn_in_use(int counter) | 60 | static inline void op_x86_warn_in_use(int counter) |
| 61 | { | 61 | { |
| 62 | /* | ||
| 63 | * The warning indicates an already running counter. If | ||
| 64 | * oprofile doesn't collect data, then try using a different | ||
| 65 | * performance counter on your platform to monitor the desired | ||
| 66 | * event. Delete counter #%d from the desired event by editing | ||
| 67 | * the /usr/share/oprofile/%s/<cpu>/events file. If the event | ||
| 68 | * cannot be monitored by any other counter, contact your | ||
| 69 | * hardware or BIOS vendor. | ||
| 70 | */ | ||
| 62 | pr_warning("oprofile: counter #%d on cpu #%d may already be used\n", | 71 | pr_warning("oprofile: counter #%d on cpu #%d may already be used\n", |
| 63 | counter, smp_processor_id()); | 72 | counter, smp_processor_id()); |
| 64 | } | 73 | } |
