Messages in this thread | | | Date | Fri, 15 Jul 2016 09:32:15 +0200 | From | Jiri Olsa <> | Subject | Re: [PATCH 1/3] perf script python: Fix string vs byte array resolving |
| |
On Fri, Jul 15, 2016 at 09:29:55AM +0200, Jiri Olsa wrote: > 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. > > Cc: Steven Rostedt (Red Hat) <rostedt@goodmis.org> > Cc: Jiri Pirko <jiri@mellanox.com>
forgot:
Reported-by: Jiri Pirko <jiri@mellanox.com>
Jirka, could I please also have your tested-by on this version?
thanks, jirka
| |