All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: dhowells@redhat.com,
	=?UTF-8?Q?Christian_K=c3=b6nig?= <deathsimple@vodafone.de>,
	LKML <linux-kernel@vger.kernel.org>,
	"Alex Deucher" <alexander.deucher@amd.com>
Subject: Allow tracepoints to use direct indexing for number->string translation
Date: Fri, 16 Dec 2016 11:55:35 +0000	[thread overview]
Message-ID: <25916.1481889335@warthog.procyon.org.uk> (raw)
In-Reply-To: <23920.1481823475@warthog.procyon.org.uk>

Another feature that would be very nice to have is the ability to turn a
number into a string by direct array index rather than by table search or
serial ?: ternary operators.

This would make tracepoint viewing more efficient, though there is a potential
downside: if the value to be looked up is corrupt, it could index beyond the
end of the array.

David

  parent reply	other threads:[~2016-12-16 11:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-07  8:27 Enabling trace points during module load/init Christian König
2016-12-15 17:37 ` David Howells
2016-12-16 11:55 ` David Howells [this message]
2016-12-16 15:02   ` Allow tracepoints to use direct indexing for number->string translation Steven Rostedt
2016-12-16 16:22   ` David Howells
2016-12-16 16:37     ` Steven Rostedt
2016-12-16 16:52     ` David Howells

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=25916.1481889335@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=alexander.deucher@amd.com \
    --cc=deathsimple@vodafone.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.