perf time-utils: Add support for multiple explicit time intervals
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 4 Jun 2019 13:00:17 +0000 (16:00 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Jun 2019 19:20:13 +0000 (16:20 -0300)
commita77a05e2337df1347f4de96bfa313db7008fe8bd
treefe2b2112319ea8ed48a12c215d83687d74118084
parente39a12cbd2496edb4cab0f99efb0d217c55ba273
perf time-utils: Add support for multiple explicit time intervals

Currently only a single explicit time range is accepted. Add support for
multiple ranges separated by spaces, which requires the string to be
quoted. Update the time utils test accordingly.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190604130017.31207-20-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-diff.txt
tools/perf/Documentation/perf-report.txt
tools/perf/Documentation/perf-script.txt
tools/perf/tests/time-utils-test.c
tools/perf/util/time-utils.c