diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2019-06-04 15:00:15 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-10 21:20:12 +0200 |
commit | 929afa0092d0ea6be2fbd0ac087319092595eba6 (patch) | |
tree | 45b5c19081bcdb478858fc6bf409356ca79cfc96 /tools/perf/util/term.h | |
parent | perf time-utils: Simplify perf_time__parse_for_ranges() error paths slightly (diff) | |
download | linux-929afa0092d0ea6be2fbd0ac087319092595eba6.tar.xz linux-929afa0092d0ea6be2fbd0ac087319092595eba6.zip |
perf time-utils: Make perf_time__parse_for_ranges() more logical
Explicit time ranges never contain a percent sign whereas percentage
ranges always do, so it is possible to call the correct parser.
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-18-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/term.h')
0 files changed, 0 insertions, 0 deletions