Re: [PATCH v2 11/11] lockdep,trace: Expose tracepoints

From: peterz
Date: Thu Sep 03 2020 - 10:52:03 EST


On Thu, Sep 03, 2020 at 04:00:47PM +0200, peterz@xxxxxxxxxxxxx wrote:
> I stuck a tracepoint in intel_idle and had a rummage around. The below
> seems to work for me now.

Note that this will insta-kill all trace_*_rcuidle() tracepoint that are
actually used in rcuidle.

A git-grep seems to suggest the remaining users are:

- arch/arm
- arch/arm64 -- IPI tracepoint that are ordered incorrectly in
their entry code,

- runtime pm
- common clk -- these both need re-ordering somehow

- trace_preemptirq -- this is going to be interesting for
those archs that idle with IRQs enabled

- printk -- we shouldn't be printk()-ing from idle, and if we are,
missing this is the least of our problems.