]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf test: Support external tests for separate objdir
authorAndi Kleen <ak@linux.intel.com>
Tue, 13 Aug 2024 21:36:49 +0000 (14:36 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2024 14:30:52 +0000 (11:30 -0300)
commitf133c76409c81653cb580903da49aecefca67013
tree51dcc3d80cc707c3bd9cc9e2b2608d3caf777fe5
parent00dc514612fe98cfa117193b9df28f15e7c9db9c
perf test: Support external tests for separate objdir

Extend the searching for the test files so that it works when running
perf from a separate objdir, and also when the perf executable is
symlinked.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240813213651.1057362-2-ak@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/tests-scripts.c