summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2025-03-31 10:37:21 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2025-04-25 18:31:54 +0300
commit390627dda7ee4e399d83972f04a2ec915b2bb159 (patch)
tree2a4d3db192ed798b281b3cf2ec139afebbb1ecd3 /tools/perf/scripts/python/exported-sql-viewer.py
parentb09124e2e167e1ec4e29fe4c12f8956c43822ffd (diff)
downloadlinux-390627dda7ee4e399d83972f04a2ec915b2bb159.tar.xz
perf hist: Set levels in output_field_add()
It turns out that the output fields didn't consider the hierarchy mode and put all the fields in the same level. To support hierarchy, each non-output field should be in a separate level. Pass a pointer to level to output_field_add() and make it increase the level when it sees non-output fields. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20250331073722.4695-4-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions