|
@@ -37,7 +37,7 @@ struct profile_hit {
|
|
#define NR_PROFILE_GRP (NR_PROFILE_HIT/PROFILE_GRPSZ)
|
|
#define NR_PROFILE_GRP (NR_PROFILE_HIT/PROFILE_GRPSZ)
|
|
|
|
|
|
/* Oprofile timer tick hook */
|
|
/* Oprofile timer tick hook */
|
|
-int (*timer_hook)(struct pt_regs *) __read_mostly;
|
|
|
|
|
|
+static int (*timer_hook)(struct pt_regs *) __read_mostly;
|
|
|
|
|
|
static atomic_t *prof_buffer;
|
|
static atomic_t *prof_buffer;
|
|
static unsigned long prof_len, prof_shift;
|
|
static unsigned long prof_len, prof_shift;
|