diff options
author | Wang Nan <[email protected]> | 2016-04-13 08:21:07 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-14 09:00:39 -0300 |
commit | ecfd7a9c044e98fc3da8937e652080bc5abe7918 (patch) | |
tree | e5ffe3e2f38414a6dc3bfd55ff9d965adb611a50 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | c0bdc1c461dd5b2e492c0746708a3e0da6b13515 (diff) |
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/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions