Oprofile Multiplexing Patch
[linux-2.6-block.git] / include / linux / oprofile.h
index bcb8f725427c4868a6f4e6461a1ee720ed8b793c..687f2f4c36a1f16860a3c81f58fcf706fd86d367 100644 (file)
@@ -67,6 +67,9 @@ struct oprofile_operations {
 
        /* Initiate a stack backtrace. Optional. */
        void (*backtrace)(struct pt_regs * const regs, unsigned int depth);
+
+       /* Multiplex between different events. Optional. */
+       int (*switch_events)(void);
        /* CPU identification string. */
        char * cpu_type;
 };