diff options
| author | 2020-06-02 23:47:31 +0200 | |
|---|---|---|
| committer | 2020-06-22 16:28:08 -0300 | |
| commit | 34bacc9578de2893ab6301cea89ea001d8e4cf5b (patch) | |
| tree | d2f99ab49f30e9a703fc3c99f0b31bccf5370745 /tools/perf/util/parse-events.c | |
| parent | perf tools: Add fake pmu support (diff) | |
| download | wireguard-linux-34bacc9578de2893ab6301cea89ea001d8e4cf5b.tar.xz wireguard-linux-34bacc9578de2893ab6301cea89ea001d8e4cf5b.zip | |
perf tests: Factor check_parse_id function
Separating the generic part of check_parse_id function,
so it can be used in following changes for the new test.
Committer notes:
Fix this error:
tests/pmu-events.c:413:40: error: missing field 'idx' initializer [-Werror,-Wmissing-field-initializers]
struct parse_events_error error = { 0 };
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20200602214741.1218986-4-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-events.c')
0 files changed, 0 insertions, 0 deletions
