[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171011101404.42ce47ab@gandalf.local.home>
Date: Wed, 11 Oct 2017 10:14:04 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Jason Baron <jbaron@...mai.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [RFC][PATCH] tracing/jump-labels: Add message when a trace
event has no instances
On Wed, 11 Oct 2017 10:00:48 -0400
Jason Baron <jbaron@...mai.com> 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
Powered by blists - more mailing lists