kernel-hacking-2024-linux-s.../tools
Jiri Olsa 249de6e074 perf script python: Fix string vs byte array resolving
Jirka reported that python code returns all arrays as strings.  This
makes impossible to get all items for byte array tracepoint field
containing 0x00 value item.

Fixing this by scanning full length of the array and returning it as
PyByteArray object in case non printable byte is found.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Reported-and-Tested-by: Jiri Pirko <jiri@mellanox.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1468685480-18951-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-07-18 19:48:04 -03:00
..
arch tools: Copy the bitsperlong.h files from the kernel 2016-07-12 15:20:39 -03:00
build perf build: Add sdt feature detection 2016-07-13 23:09:09 -03:00
cgroup
firewire
gpio
hv
iio
include tools: Copy linux/{hash,poison}.h and check for drift 2016-07-18 18:41:50 -03:00
kvm/kvm_stat
laptop/freefall
lguest
lib tools lib fd array: Allow associating a pointer cookie with each entry 2016-07-15 17:27:46 -03:00
net
nfsd
objtool objtool: Initialize variable to silence old compiler 2016-07-15 17:32:52 -03:00
perf perf script python: Fix string vs byte array resolving 2016-07-18 19:48:04 -03:00
power
scripts
spi
testing selftests/vm/compaction_test: fix write to restore nr_hugepages 2016-06-24 17:23:52 -07:00
thermal/tmon
time
usb
virtio tools/virtio: add noring tool 2016-06-06 13:00:11 +03:00
vm tools/vm/slabinfo: fix spelling mistake: "Ocurrences" -> "Occurrences" 2016-06-24 17:23:52 -07:00
Makefile