diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-02-13 13:32:40 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-14 15:18:08 -0300 |
commit | 714a92d83fd1e20461f53549cfbee77b20be5032 (patch) | |
tree | 19be4d66a3854e2b04c8ce0a2eac5e1d8f99e95b /tools/perf/builtin-list.c | |
parent | 5ff328836dfde0cef9f28c8b8791a90a36d7a183 (diff) | |
download | linux-714a92d83fd1e20461f53549cfbee77b20be5032.tar.bz2 |
perf tools: Fix legacy events symbol separator parsing
Fixing legacy symbol events parsing. We can't support single slash
separator, like 'cycles/u', because it conflicts with non empty terms,
like 'cycles/period/u'.
Keeping only '//' and ':' separator for these events:
cycles//u
cycles:k
And removing '/' separator support, which is not working
anymore. Also adding automated tests for above events.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190213123246.4015-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-list.c')
0 files changed, 0 insertions, 0 deletions