diff options
author | Robert Richter <robert.richter@amd.com> | 2009-07-16 07:04:43 -0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-07-20 10:43:19 -0400 |
commit | d8471ad3ab613a1ba7abd3aad46659de39a2871c (patch) | |
tree | 34aff4195cd8a00342439ed63a8d0ab041132dd6 /arch/x86/oprofile/op_x86_model.h | |
parent | a5659d17adb815fb35e11745e2f39c3f0bfd579f (diff) |
oprofile: Introduce op_x86_phys_to_virt()
This new function translates physical to virtual counter numbers.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/oprofile/op_x86_model.h')
-rw-r--r-- | arch/x86/oprofile/op_x86_model.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h index 0d07d23cb062..e874dc3565ae 100644 --- a/arch/x86/oprofile/op_x86_model.h +++ b/arch/x86/oprofile/op_x86_model.h | |||
@@ -60,6 +60,7 @@ struct op_counter_config; | |||
60 | 60 | ||
61 | extern u64 op_x86_get_ctrl(struct op_x86_model_spec const *model, | 61 | extern u64 op_x86_get_ctrl(struct op_x86_model_spec const *model, |
62 | struct op_counter_config *counter_config); | 62 | struct op_counter_config *counter_config); |
63 | extern int op_x86_phys_to_virt(int phys); | ||
63 | 64 | ||
64 | extern struct op_x86_model_spec const op_ppro_spec; | 65 | extern struct op_x86_model_spec const op_ppro_spec; |
65 | extern struct op_x86_model_spec const op_p4_spec; | 66 | extern struct op_x86_model_spec const op_p4_spec; |