mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
Skip symbols from IRQ stack.
There is a bug in the kernel where it includes the stack of the IRQ that generated the event, so that the stack ends up looking like this: [ip] [irq stack] [real stack]. As a temporary workaround, this patch filters out the irq stack symbols.
This commit is contained in:
@ -362,7 +362,7 @@ counter_new (Collector *collector,
|
||||
{
|
||||
attr.type = PERF_TYPE_SOFTWARE;
|
||||
attr.config = PERF_COUNT_SW_CPU_CLOCK;
|
||||
attr.sample_period = 2000000;
|
||||
attr.sample_period = 1000000;
|
||||
|
||||
fd = sysprof_perf_counter_open (&attr, -1, cpu, -1, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user