aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWang Nan <[email protected]>2016-04-13 08:21:05 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-04-14 08:57:54 -0300
commit040f9915e99e604688c2880e0b1e5b59dbfefa54 (patch)
tree6858dd65055154cea586357070020614c75333e7 /tools/perf/scripts/python/export-to-postgresql.py
parentb26dc73018d2e3a68cad0cf0bad902a8637f9bdf (diff)
perf data: Add perf_data_file__switch() helper
perf_data_file__switch() closes current output file, renames it, then open a new one to continue recording. It will be used by 'perf record' to split output into multiple perf.data files. Signed-off-by: Wang Nan <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: He Kuang <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions