diff options
author | Robert Richter <robert.richter@amd.com> | 2009-07-09 14:56:25 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-07-20 16:43:21 +0200 |
commit | 1b294f5960cd89e49eeb3e797860c552b03f2272 (patch) | |
tree | 2582a7f6d56c2f34ff956d24eda97b18720aa0ce /drivers/oprofile/oprofile_stats.h | |
parent | 4d015f79e972cea1761cfee8872b1c0992ccd8b2 (diff) | |
download | kernel_samsung_espresso10-1b294f5960cd89e49eeb3e797860c552b03f2272.zip kernel_samsung_espresso10-1b294f5960cd89e49eeb3e797860c552b03f2272.tar.gz kernel_samsung_espresso10-1b294f5960cd89e49eeb3e797860c552b03f2272.tar.bz2 |
oprofile: Adding switch counter to oprofile statistic variables
This patch moves the multiplexing switch counter from x86 code to
common oprofile statistic variables. Now the value will be available
and usable for all architectures. The initialization and
incrementation also moved to common code.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/oprofile_stats.h')
-rw-r--r-- | drivers/oprofile/oprofile_stats.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/oprofile/oprofile_stats.h b/drivers/oprofile/oprofile_stats.h index 3da0d08..0b54e46 100644 --- a/drivers/oprofile/oprofile_stats.h +++ b/drivers/oprofile/oprofile_stats.h @@ -17,6 +17,7 @@ struct oprofile_stat_struct { atomic_t sample_lost_no_mapping; atomic_t bt_lost_no_mapping; atomic_t event_lost_overflow; + atomic_t multiplex_counter; }; extern struct oprofile_stat_struct oprofile_stats; |