diff options
author | Jiri Olsa <[email protected]> | 2017-01-09 10:52:00 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-01-11 16:48:02 -0300 |
commit | bfacbe3bf2443c805aec4c04ecb558d03d0d3ebc (patch) | |
tree | 1dec6ba33420d982de9f19763aa82553178e168c /lib/pm-notifier-error-inject.c | |
parent | 0c5824498e8bd5b7d30dc03448cd89efaee4bead (diff) |
perf record: Add switch-output time option argument
It's now possible to specify the threshold time for perf.data like:
$ perf record --switch-output=30s ...
Once it's reached, the current data are dumped in to the
perf.data.<timestamp> file and session does on.
$ perf record --switch-output=30s ...
[ perf record: dump data: Woken up 44 times ]
[ perf record: Dump perf.data.2017010213043746 ]
...
The time is expected to be a number with appended unit
character - s/m/h/d.
Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Acked-by: Wang Nan <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions