public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] perf test: Small improvements
@ 2025-03-04  2:28 Namhyung Kim
  2025-03-04  2:28 ` [PATCH v2 1/6] perf test: Add --metric-only to perf stat output tests Namhyung Kim
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Namhyung Kim @ 2025-03-04  2:28 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Ian Rogers, Kan Liang
  Cc: Jiri Olsa, Adrian Hunter, Peter Zijlstra, Ingo Molnar, LKML,
	linux-perf-users

Hello,

This is an assorted list of changes in the perf test.

I've added perf stat --metric-only test and perf trace record and replay.
And other changes to skip privileged tests for non-root and simplify
data symbol test.

v2 changes)
* fix shellcheck errors
* simplify datasym test with timeout

Thanks,
Namhyung


Namhyung Kim (6):
  perf test: Add --metric-only to perf stat output tests
  perf test: Skip perf probe tests when running as non-root
  perf test: Skip perf trace tests when running as non-root
  perf test: Add trace record and replay test
  perf test: Add timeout to datasym workload
  perf test: Simplify data symbol test

 .../tests/shell/lib/perf_json_output_lint.py  |  7 ++++++
 tools/perf/tests/shell/lib/stat_output.sh     |  8 +++++++
 .../tests/shell/perftool-testsuite_probe.sh   |  1 +
 tools/perf/tests/shell/probe_vfs_getname.sh   |  1 +
 .../shell/record+probe_libc_inet_pton.sh      |  1 +
 .../shell/record+script_probe_vfs_getname.sh  |  1 +
 tools/perf/tests/shell/stat+csv_output.sh     |  2 ++
 tools/perf/tests/shell/stat+json_output.sh    |  9 ++++++++
 tools/perf/tests/shell/stat+std_output.sh     |  8 +++++++
 tools/perf/tests/shell/test_data_symbol.sh    | 15 ++----------
 .../shell/test_uprobe_from_different_cu.sh    | 11 ++++-----
 .../tests/shell/trace+probe_vfs_getname.sh    |  1 +
 tools/perf/tests/shell/trace_btf_enum.sh      |  1 +
 tools/perf/tests/shell/trace_btf_general.sh   |  1 +
 tools/perf/tests/shell/trace_exit_race.sh     |  1 +
 tools/perf/tests/shell/trace_record_replay.sh | 21 +++++++++++++++++
 tools/perf/tests/workloads/datasym.c          | 23 +++++++++++++++++--
 17 files changed, 91 insertions(+), 21 deletions(-)
 create mode 100755 tools/perf/tests/shell/trace_record_replay.sh

-- 
2.48.1.711.g2feabab25a-goog


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-03-06 17:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04  2:28 [PATCH v2 0/6] perf test: Small improvements Namhyung Kim
2025-03-04  2:28 ` [PATCH v2 1/6] perf test: Add --metric-only to perf stat output tests Namhyung Kim
2025-03-04  2:28 ` [PATCH v2 2/6] perf test: Skip perf probe tests when running as non-root Namhyung Kim
2025-03-04  2:28 ` [PATCH v2 3/6] perf test: Skip perf trace " Namhyung Kim
2025-03-04  2:28 ` [PATCH v2 4/6] perf test: Add trace record and replay test Namhyung Kim
2025-03-04  2:28 ` [PATCH v2 5/6] perf test: Add timeout to datasym workload Namhyung Kim
2025-03-04  7:37   ` Thomas Richter
2025-03-04 15:16   ` Leo Yan
2025-03-04  2:28 ` [PATCH v2 6/6] perf test: Simplify data symbol test Namhyung Kim
2025-03-04  7:38   ` Thomas Richter
2025-03-04 15:15   ` Leo Yan
2025-03-04 16:17 ` [PATCH v2 0/6] perf test: Small improvements Falcon, Thomas
2025-03-06 17:14 ` Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox