diff options
| author | Wang Nan <[email protected]> | 2016-04-13 08:21:07 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-14 12:00:39 +0000 |
| commit | ecfd7a9c044e98fc3da8937e652080bc5abe7918 (patch) | |
| tree | e5ffe3e2f38414a6dc3bfd55ff9d965adb611a50 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf record: Turns auxtrace_snapshot_enable into 3 states (diff) | |
| download | kernel-ecfd7a9c044e98fc3da8937e652080bc5abe7918.tar.gz kernel-ecfd7a9c044e98fc3da8937e652080bc5abe7918.zip | |
perf record: Add '--timestamp-filename' option to append timestamp to output file name
This option appends current timestamp to the output file name.
For example:
# perf record -a --timestamp-filename
^C[ perf record: Woken up 1 times to write data ]
[ perf record: Dump perf.data.2015122622265847 ]
[ perf record: Captured and wrote 0.742 MB perf.data.<timestamp> (90 samples) ]
# ls
perf.data.201512262226584
The timestamp will be useful for identifying each perf.data after the
'perf record' support for generating multiple output files gets
introduced.
Signed-off-by: Wang Nan <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
