You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user