Wang Nan
3c1cb7e372
perf record: Split output into multiple files via '--switch-output'
...
Allow 'perf record' to split its output into multiple files.
For example:
# ~/perf record -a --timestamp-filename --switch-output &
[1] 10763
# kill -s SIGUSR2 10763
[ perf record: dump data: Woken up 1 times ]
# [ perf record: Dump perf.data.2015122622314468 ]
# kill -s SIGUSR2 10763
[ perf record: dump data: Woken up 1 times ]
# [ perf record: Dump perf.data.2015122622314762 ]
# kill -s SIGUSR2 10763
[ perf record: dump data: Woken up 1 times ]
#[ perf record: Dump perf.data.2015122622315171 ]
# fg
perf record -a --timestamp-filename --switch-output
^C[ perf record: Woken up 1 times to write data ]
[ perf record: Dump perf.data.2015122622315513 ]
[ perf record: Captured and wrote 0.014 MB perf.data.<timestamp> (296 samples) ]
# ls -l
total 920
-rw------- 1 root root 797692 Dec 26 22:31 perf.data.2015122622314468
-rw------- 1 root root 59960 Dec 26 22:31 perf.data.2015122622314762
-rw------- 1 root root 59912 Dec 26 22:31 perf.data.2015122622315171
-rw------- 1 root root 19220 Dec 26 22:31 perf.data.2015122622315513
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1461178794-40467-4-git-send-email-wangnan0@huawei.com
Signed-off-by: He Kuang <hekuang@huawei.com>
[ Added man page entry, used the re-synthesize patch in this series as a fixup ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-04-28 09:58:59 -03:00
..
2016-04-26 13:15:02 -03:00
2016-04-26 13:28:40 -03:00
2016-04-08 09:58:14 -03:00
2016-04-28 09:58:59 -03:00
2016-04-01 18:42:55 -03:00
2015-10-07 19:41:50 -03:00
2016-04-19 12:36:54 -03:00
2016-04-27 10:29:07 -03:00
2016-04-26 13:15:00 -03:00
2016-04-18 12:26:27 -03:00
2016-04-28 09:58:58 -03:00
2015-08-17 11:11:36 -03:00
2016-01-12 12:42:07 -03:00
2016-03-23 12:03:08 -03:00
2015-12-17 14:27:14 -03:00
2016-01-29 17:30:06 -03:00
2015-12-17 14:27:14 -03:00
2016-04-14 09:15:47 -03:00
2015-12-17 14:27:14 -03:00
2016-03-23 12:03:08 -03:00
2016-01-08 14:23:02 -03:00
2016-03-23 16:36:07 -03:00
2016-03-31 10:52:24 -03:00
2016-04-14 14:48:07 -03:00
2016-04-11 22:18:20 -03:00
2015-12-17 14:27:14 -03:00
2015-12-17 14:27:14 -03:00
2016-03-30 11:14:07 -03:00
2015-12-17 14:27:14 -03:00
2016-04-28 09:58:59 -03:00
2016-04-27 10:29:07 -03:00
2016-04-13 10:11:52 -03:00
2016-04-27 10:29:07 -03:00
2016-03-10 16:50:47 -03:00
2016-03-23 12:03:08 -03:00
2016-04-27 10:29:07 -03:00
2016-04-27 10:29:07 -03:00
2015-12-09 13:42:03 -03:00
2016-03-23 15:06:35 -03:00
2016-01-08 12:46:17 -03:00
2014-03-18 18:17:06 -03:00
2016-02-04 15:57:00 -03:00
2016-04-08 09:58:14 -03:00
2016-03-24 12:28:57 -03:00
2015-03-19 13:53:27 -03:00
2014-10-29 10:32:48 -02:00
2015-05-08 16:05:08 -03:00
2015-08-06 16:48:27 -03:00
2016-04-27 10:29:07 -03:00
2016-04-18 12:26:27 -03:00