mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Jason Baron <jbaron@akamai.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Ingo Molnar <mingo@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [RFC][PATCH] tracing/jump-labels: Add message when a trace event has no instances
Date: Wed, 11 Oct 2017 10:14:04 -0400	[thread overview]
Message-ID: <20171011101404.42ce47ab@gandalf.local.home> (raw)
In-Reply-To: <aca7c070-31d7-257d-461e-0ead20d92fd6@akamai.com>

On Wed, 11 Oct 2017 10:00:48 -0400
Jason Baron <jbaron@akamai.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

      reply	other threads:[~2017-10-11 14:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-10 22:56 Steven Rostedt
2017-10-11  7:21 ` Peter Zijlstra
2017-10-11 12:55   ` Steven Rostedt
2017-10-11 14:00 ` Jason Baron
2017-10-11 14:14   ` Steven Rostedt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171011101404.42ce47ab@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=jbaron@akamai.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®