Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1543411

Allow tracepoints to use direct indexing for number->string translation

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject Allow tracepoints to use direct indexing for number->string translation
Date 2016-12-16 13:00 +0100
Message-ID <sOZl7-36c-13@gated-at.bofh.it> (permalink)
References <sOIaC-cX-35@gated-at.bofh.it> <sLFLX-65b-1@gated-at.bofh.it> <sOIaC-cX-35@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Enabling trace points during module load/init David Howells <dhowells@redhat.com> - 2016-12-15 18:40 +0100
  Allow tracepoints to use direct indexing for number->string translation David Howells <dhowells@redhat.com> - 2016-12-16 13:00 +0100
    Re: Allow tracepoints to use direct indexing for number->string  translation Steven Rostedt <rostedt@goodmis.org> - 2016-12-16 16:20 +0100
      Re: Allow tracepoints to use direct indexing for number->string translation David Howells <dhowells@redhat.com> - 2016-12-16 17:30 +0100
        Re: Allow tracepoints to use direct indexing for number->string  translation Steven Rostedt <rostedt@goodmis.org> - 2016-12-16 17:40 +0100
          Re: Allow tracepoints to use direct indexing for number->string translation David Howells <dhowells@redhat.com> - 2016-12-16 18:00 +0100

csiph-web