diff options
author | Robert Richter <robert.richter@amd.com> | 2009-07-16 13:04:43 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-07-20 16:43:19 +0200 |
commit | d8471ad3ab613a1ba7abd3aad46659de39a2871c (patch) | |
tree | 34aff4195cd8a00342439ed63a8d0ab041132dd6 /arch/x86/oprofile/op_x86_model.h | |
parent | a5659d17adb815fb35e11745e2f39c3f0bfd579f (diff) | |
download | linux-d8471ad3ab613a1ba7abd3aad46659de39a2871c.tar.bz2 |
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; extern u64 op_x86_get_ctrl(struct op_x86_model_spec const *model, struct op_counter_config *counter_config); +extern int op_x86_phys_to_virt(int phys); extern struct op_x86_model_spec const op_ppro_spec; extern struct op_x86_model_spec const op_p4_spec; |