summaryrefslogtreecommitdiff
path: root/tools/perf/tests/expr.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-12-06 07:23:06 +0300
committerNamhyung Kim <namhyung@kernel.org>2024-12-10 02:00:26 +0300
commitd4e17a322a8fc3266798ec8dee1fbe679078b2bc (patch)
treea8356274e7babf26a18346e2207263c57429a85d /tools/perf/tests/expr.c
parent3f61a12b08bd84e6cf705484c2cb9d5b891882fa (diff)
downloadlinux-d4e17a322a8fc3266798ec8dee1fbe679078b2bc.tar.xz
perf test hwmon_pmu: Fix event file location
The temp directory is made and a known fake hwmon PMU created within it. Prior to this fix the events were being incorrectly written to the temp directory rather than the fake PMU directory. This didn't impact the test as the directory fd matched the wrong location, but it doesn't mirror what a hwmon PMU would actually look like. Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Arnaldo Carvalho de Melo <acme@kernel.org> Link: https://lore.kernel.org/r/20241206042306.1055913-2-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/tests/expr.c')
0 files changed, 0 insertions, 0 deletions