summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/common/settings.sh
diff options
context:
space:
mode:
authorVeronika Molnarova <vmolnaro@redhat.com>2024-07-02 13:08:48 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-08-28 18:07:21 -0300
commit61f87151839b9767a06be93b99f1fc324147a0d3 (patch)
treed8062ff033e42a9a0f0d91fa6acd44f41b647cdc /tools/perf/tests/shell/common/settings.sh
parent13d58a6672d11200bd3c35604caa9e166468d61b (diff)
downloadlinux-61f87151839b9767a06be93b99f1fc324147a0d3.tar.gz
linux-61f87151839b9767a06be93b99f1fc324147a0d3.tar.bz2
linux-61f87151839b9767a06be93b99f1fc324147a0d3.zip
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>
Diffstat (limited to 'tools/perf/tests/shell/common/settings.sh')
-rw-r--r--tools/perf/tests/shell/common/settings.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/tests/shell/common/settings.sh b/tools/perf/tests/shell/common/settings.sh
index 2e50dd0bff9b..cba1b338f96f 100644
--- a/tools/perf/tests/shell/common/settings.sh
+++ b/tools/perf/tests/shell/common/settings.sh
@@ -80,12 +80,14 @@ if [ -n "$PERFSUITE_RUN_DIR" ]; then
export CURRENT_TEST_DIR="$PERFSUITE_RUN_DIR/$TEST_NAME"
export MAKE_TARGET_DIR="$CURRENT_TEST_DIR/examples"
export LOGS_DIR="$CURRENT_TEST_DIR/logs"
+ export HEADER_TAR_DIR="$CURRENT_TEST_DIR/header_tar"
test -d "$CURRENT_TEST_DIR" || mkdir -p "$CURRENT_TEST_DIR"
test -d "$LOGS_DIR" || mkdir -p "$LOGS_DIR"
else
# when $PERFSUITE_RUN_DIR is not set, logs will be placed here
export CURRENT_TEST_DIR="."
export LOGS_DIR="."
+ export HEADER_TAR_DIR="./header_tar"
fi