aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-12-02 11:04:47 -0800
committerArnaldo Carvalho de Melo <[email protected]>2022-12-14 11:16:12 -0300
commit117195d9f8af74c65bf57d9b56f496b5b3655bcb (patch)
treede4b91ab2a4a6529ece80483380ab8457080c23d /scripts/gdb/linux/utils.py
parent113bb3964297467baeb1fd2c4f86d0a4142e4259 (diff)
perf stat: Fix multi-line metric output in JSON
When a metric produces more than one values, it missed to print the opening bracket. Fixes: ab6baaae27357290 ("perf stat: Fix JSON output in metric-only mode") Reported-by: Weilin Wang <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Tested-by: Weilin Wang <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Athira Jajeev <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Xing Zhengjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions