Re: [RFC][PATCH] tracing/jump-labels: Add message when a trace event has no instances

From: Steven Rostedt
Date: Wed Oct 11 2017 - 10:14:11 EST


On Wed, 11 Oct 2017 10:00:48 -0400
Jason Baron <jbaron@xxxxxxxxxx> wrote:
>
> I'm wondering if this can be checked at build time, without adding
> run-time paths? Can we look in the tracepoint section for the static key
> address and then use that to search the jump label section if there are
> any branches that use that key.

Possibly, and I thought about that too. This was just easier to
implement.

I could look into doing that too, it shouldn't be that hard. It will
require another elf parser, but I've done that before.

-- Steve