diff options
author | Andreas Gerstmayr <[email protected]> | 2020-06-19 17:32:31 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-06-22 13:30:55 -0300 |
commit | c42ad5d4358230be166fc36c87bae0dd1680c570 (patch) | |
tree | d601f36bd62812e82e28bc98d2126370b2aaab62 /tools/perf/util/trace-event-scripting.c | |
parent | 625d3449788f85569096780592549d0340e9c0c7 (diff) |
perf flamegraph: Explicitly set utf-8 encoding
On some platforms the default encoding is not utf-8, which causes an
UnicodeDecodeError when reading the flamegraph template and writing the
flamegraph
Signed-off-by: Andreas Gerstmayr <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions