Commit 5d448802 authored by Andi Kleen's avatar Andi Kleen Committed by Robert Richter

oprofile: drop const in num counters field

allow to modify it at runtime
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent c493756e
...@@ -34,8 +34,8 @@ struct pt_regs; ...@@ -34,8 +34,8 @@ struct pt_regs;
struct op_x86_model_spec { struct op_x86_model_spec {
int (*init)(struct oprofile_operations *ops); int (*init)(struct oprofile_operations *ops);
void (*exit)(void); void (*exit)(void);
unsigned int const num_counters; unsigned int num_counters;
unsigned int const num_controls; unsigned int num_controls;
void (*fill_in_addresses)(struct op_msrs * const msrs); void (*fill_in_addresses)(struct op_msrs * const msrs);
void (*setup_ctrs)(struct op_msrs const * const msrs); void (*setup_ctrs)(struct op_msrs const * const msrs);
int (*check_ctrs)(struct pt_regs * const regs, int (*check_ctrs)(struct pt_regs * const regs,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment