perf test: Add basic 'perf list --json" test
authorIan Rogers <irogers@google.com>
Wed, 29 Nov 2023 21:34:28 +0000 (13:34 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Dec 2023 18:48:52 +0000 (15:48 -0300)
commit7d723ef83b8070ab2304df22ed952dc627385406
tree4b10425aeeaa2ac07fd2f1ada38e4d2936c8b606
parent8226e4a3b35f525d11934484ee5979399ff8b7dc
perf test: Add basic 'perf list --json" test

Test that JSON output produces valid JSON.

Reviewed-by: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20231129213428.2227448-4-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/list.sh [new file with mode: 0755]