diff options
author | Robert Richter <robert.richter@amd.com> | 2009-07-15 15:19:29 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-07-20 16:43:19 +0200 |
commit | afe1b50fe6aa56093e9234bdc08779e9fe20b5bf (patch) | |
tree | 9c6ce25e09476a0d6c16ceabda66323dd3f5aefe /drivers/oprofile/oprof.h | |
parent | oprofile: oprofile_set_timeout(), return with error for invalid args (diff) | |
download | linux-afe1b50fe6aa56093e9234bdc08779e9fe20b5bf.tar.xz linux-afe1b50fe6aa56093e9234bdc08779e9fe20b5bf.zip |
oprofile: Rename variable timeout_jiffies and move to oprofile_files.c
This patch renames timeout_jiffies into an oprofile specific name. The
macro MULTIPLEXING_TIMER_DEFAULT is changed too.
Also, since this variable is controlled using oprofilefs, its
definition is moved to oprofile_files.c.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/oprof.h')
-rw-r--r-- | drivers/oprofile/oprof.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/oprofile/oprof.h b/drivers/oprofile/oprof.h index ee38abcc74f3..cb92f5c98c1a 100644 --- a/drivers/oprofile/oprof.h +++ b/drivers/oprofile/oprof.h @@ -24,10 +24,11 @@ struct oprofile_operations; extern unsigned long oprofile_buffer_size; extern unsigned long oprofile_cpu_buffer_size; extern unsigned long oprofile_buffer_watershed; +extern unsigned long oprofile_time_slice; + extern struct oprofile_operations oprofile_ops; extern unsigned long oprofile_started; extern unsigned long oprofile_backtrace_depth; -extern unsigned long timeout_jiffies; struct super_block; struct dentry; |