summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2024-06-27 21:19:16 +0300
committerNamhyung Kim <namhyung@kernel.org>2024-06-28 05:58:07 +0300
commit4553c431e7dd259dafc1c7ed31797b8b3d7fe034 (patch)
tree55e24709561ca5c271bf4fc60b7d1a88b2b2da9c /tools/perf/scripts/python/export-to-sqlite.py
parente8b86f0311a4b721663df8105a680e5968f21d4c (diff)
downloadlinux-4553c431e7dd259dafc1c7ed31797b8b3d7fe034.tar.xz
perf report: Display pregress bar on redirected pipe data
It's possible to save pipe output of perf record into a file. $ perf record -o- ... > pipe.data And you can use the data same as the normal perf data. $ perf report -i pipe.data In that case, perf tools will treat the input as a pipe, but it can get the total size of the input. This means it can show the progress bar unlike the normal pipe input (which doesn't know the total size in advance). While at it, fix the string in __perf_session__process_dir_events(). Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240627181916.1202110-1-namhyung@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions