From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759588AbcLPLzq (ORCPT ); Fri, 16 Dec 2016 06:55:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35896 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754967AbcLPLzj (ORCPT ); Fri, 16 Dec 2016 06:55:39 -0500 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 From: David Howells In-Reply-To: <23920.1481823475@warthog.procyon.org.uk> References: <23920.1481823475@warthog.procyon.org.uk> To: Steven Rostedt Cc: dhowells@redhat.com, =?us-ascii?Q?=3D=3FUTF-8=3FQ=3FChristian=5FK=3Dc3=3Db6nig=3F=3D?= , LKML , Alex Deucher Subject: Allow tracepoints to use direct indexing for number->string translation MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25915.1481889335.1@warthog.procyon.org.uk> Date: Fri, 16 Dec 2016 11:55:35 +0000 Message-ID: <25916.1481889335@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 16 Dec 2016 11:55:38 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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