perf test: Move all the check functions of stat CSV output to lib
authorKan Liang <kan.liang@linux.intel.com>
Fri, 16 Jun 2023 03:14:18 +0000 (20:14 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Jun 2023 12:58:32 +0000 (09:58 -0300)
commitfc51fc87b1b84db83907c125bda6b05d52ec21ca
treeeff3970bec486c28e7aa1ba6d7f8964602b2dff5
parent6a80d794d796d22910c03d3e52a3bf0d885326a7
perf test: Move all the check functions of stat CSV output to lib

These functions can be shared with the stat std output test.

There is no functional change.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ahmad Yasin <ahmad.yasin@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lore.kernel.org/r/20230616031420.3751973-4-kan.liang@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/lib/stat_output.sh [new file with mode: 0755]
tools/perf/tests/shell/stat+csv_output.sh