Re: [PATCH v13 3/3] trace,x86: Add irq vector tracepoints

From: Steven Rostedt
Date: Tue Jun 04 2013 - 16:58:19 EST


On Tue, 2013-06-04 at 20:20 +0000, Seiji Aguchi wrote:
> Steven,
>
> >
> > Hmm, maybe we can do it. Have two counters, a debug_idt_ctr and a
> > trace_idt_ctr, then have a function that basically does this:
> >
> > if (this_cpu_read(debug_idt_ctr))
>
> I think we can use "debug_stack_use_ctr" for the checking.
> Is it correct?
> Or, do I need to introduce a new debug_idt_ctr?
>

No, it's the same variable. I was thinking we should rename it too, as
debug_stack_use_ctr, doesn't really describe what is happening anymore.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/