[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170811203809.120130-1-arunkaly@google.com>
Date: Fri, 11 Aug 2017 13:38:08 -0700
From: Arun Kalyanasundaram <arunkaly@...gle.com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
linux-kernel@...r.kernel.org
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Arun Kalyanasundaram <arunkaly@...gle.com>,
Jiri Olsa <jolsa@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
"David S . Miller" <davem@...emloft.net>,
SeongJae Park <sj38.park@...il.com>, davidcc@...gle.com,
Stephane Eranian <eranian@...gle.com>,
Arun Kalyanasundaram <arunkalys@...il.com>
Subject: [PATCH 0/1] perf script python: Garbled text in tracepoint fields
The string stored in some of the fields of tracepoint handlers has unused non-ascii characters beyond the first null ternimating character. As a result the call to is_printable_array fails and the python handlers receive the entire field as a byte array instead of just the subset of chars that represent the string.
This change calls is_printable_array with the correct length of the string instead of the entire field size.
Bug report: lkml/2017/7/18/228
Arun Kalyanasundaram (1):
perf script python: Garbled text in tracepoint fields
tools/perf/util/scripting-engines/trace-event-python.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
--
2.14.0.434.g98096fd7a8-goog
Powered by blists - more mailing lists