@@ -304,13 +304,20 @@ static struct usage_help usage_help[] = {
{
"split",
"parse a trace.dat file into smaller file(s)",
- " %s split [options] -o file [start [end]]\n"
+ " %s split [-i file] [options] [-B buffer] [--top[=name]] -o file [start [end]]\n"
" -o output file to write to (file.1, file.2, etc)\n"
" -s n split file up by n seconds\n"
" -m n split file up by n milliseconds\n"
" -u n split file up by n microseconds\n"
" -e n split file up by n events\n"
" -p n split file up by n pages\n"
+ " -C n select CPU n\n"
+ " -B buffer keep buffer in resulting .dat file\n"
+ " The first buffer specified will be the top buffer.\n"
+ " Use --top option to select the top buffer of the input\n"
+ " .dat file.\n"
+ " --top[=name] keep top buffer in resulting .dat file.\n"
+ " If specified, rename the top buffer to TOP.\n"
" -r repeat from start to end\n"
" -c per cpu, that is -p 2 will be 2 pages for each CPU\n"
" if option is specified, it will split the file\n"
Update usage for 'trace-cmd split' command: - Add missing description of -i/-C options - Add description of the newly enabled -B/--top options Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> --- tracecmd/trace-usage.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)