kernel-fxtec-pro1x/drivers/oprofile
Phil Carmody 9414e99672 oprofile: protect from not being in an IRQ context
http://lkml.org/lkml/2010/4/27/285

Protect against dereferencing regs when it's NULL, and
force a magic number into pc to prevent too deep processing.
This approach permits the dropped samples to be tallied as
invalid Instruction Pointer events.

e.g. output from about 15mins at 10kHz sample rate:
Nr. samples received: 2565380
Nr. samples lost invalid pc: 4

Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
2010-05-03 23:02:39 +02:00
..
buffer_sync.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
buffer_sync.h
cpu_buffer.c oprofile: protect from not being in an IRQ context 2010-05-03 23:02:39 +02:00
cpu_buffer.h percpu: make percpu symbols in oprofile unique 2009-10-29 22:34:13 +09:00
event_buffer.c oprofile: warn on freeing event buffer too early 2009-10-09 21:32:05 +02:00
event_buffer.h
oprof.c oprofile: convert oprofile from timer_hook to hrtimer 2010-03-02 17:03:20 +01:00
oprof.h oprofile: convert oprofile from timer_hook to hrtimer 2010-03-02 17:03:20 +01:00
oprofile_files.c
oprofile_stats.c percpu: make percpu symbols in oprofile unique 2009-10-29 22:34:13 +09:00
oprofile_stats.h
oprofilefs.c
timer_int.c oprofile: convert oprofile from timer_hook to hrtimer 2010-03-02 17:03:20 +01:00