aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/oprofile/op_x86_model.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-07-16 07:04:43 -0400
committerRobert Richter <robert.richter@amd.com>2009-07-20 10:43:19 -0400
commitd8471ad3ab613a1ba7abd3aad46659de39a2871c (patch)
tree34aff4195cd8a00342439ed63a8d0ab041132dd6 /arch/x86/oprofile/op_x86_model.h
parenta5659d17adb815fb35e11745e2f39c3f0bfd579f (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.h1
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
61extern u64 op_x86_get_ctrl(struct op_x86_model_spec const *model, 61extern 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);
63extern int op_x86_phys_to_virt(int phys);
63 64
64extern struct op_x86_model_spec const op_ppro_spec; 65extern struct op_x86_model_spec const op_ppro_spec;
65extern struct op_x86_model_spec const op_p4_spec; 66extern struct op_x86_model_spec const op_p4_spec;