Veronika Molnarova and Arnaldo Carvalho de Melo
241f21be7d
perf test perftool_testsuite: Use absolute paths
...
Test cases from perftool_testsuite are affected by the current
directory where the test are run. For this reason, the test
driver has to change the directory to the base_dir for references to
work correctly.
Utilize absolute paths when sourcing and referencing other scripts so
that the current working directory doesn't impact the test cases.
Reviewed-by: Ian Rogers <irogers@google.com >
Signed-off-by: Jakub Brnak <jbrnak@redhat.com >
Signed-off-by: Michael Petlan <mpetlan@redhat.com >
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com >
Cc: Namhyung Kim <namhyung@kernel.org >
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com >
2025-10-01 09:44:05 -03:00
Dmitry Vyukov and Namhyung Kim
257facfaf5
perf test: Add tests for latency and parallelism profiling
...
Ensure basic operation of latency/parallelism profiling and that
main latency/parallelism record/report invocations don't fail/crash.
Signed-off-by: Dmitry Vyukov <dvyukov@google.com >
Reviewed-by: Andi Kleen <ak@linux.intel.com >
Link: https://lore.kernel.org/r/c129c8f02f328f68e1e9ef2cdc582f8a9786a97d.1739437531.git.dvyukov@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org >
2025-02-18 14:04:32 -08:00
Veronika Molnarova and Arnaldo Carvalho de Melo
5afd6d38cf
perf test perftool_testsuite: Add missing description
...
Properly name the test cases of perftool_testsuite instead of the
license being taken as the name for 'perf test'.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com >
Cc: Ian Rogers <irogers@google.com >
Cc: Namhyung Kim <namhyung@kernel.org >
Link: https://lore.kernel.org/r/20250113182605.130719-2-vmolnaro@redhat.com
Signed-off-by: Michael Petlan <mpetlan@redhat.com >
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com >
2025-01-14 14:57:20 -03:00
Veronika Molnarova and Arnaldo Carvalho de Melo
61f8715183
perf testsuite report: Add test for perf-report basic functionality
...
Test basic execution and some options of perf-report subcommand, like
show-nr-samples, header, showcpuutilization, pid and symbol filtering.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com >
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com >
Cc: Ian Rogers <irogers@google.com >
Cc: Masami Hiramatsu <mhiramat@kernel.org >
Cc: Namhyung Kim <namhyung@kernel.org >
Link: https://lore.kernel.org/r/20240702110849.31904-11-vmolnaro@redhat.com
Signed-off-by: Michael Petlan <mpetlan@redhat.com >
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com >
2024-08-28 18:07:21 -03:00