aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2023-03-24 00:22:17 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-04-04 09:39:55 -0300
commitc3bf86f11dc9a11afb83b33f9640bf86adfb1b28 (patch)
tree52f189e35c08ab61be2b35d669109e72943dc021 /tools/perf/builtin-annotate.c
parente559b6f53b1b36fd69291962104fa86edf3dadf4 (diff)
downloadlinux-c3bf86f11dc9a11afb83b33f9640bf86adfb1b28.tar.gz
linux-c3bf86f11dc9a11afb83b33f9640bf86adfb1b28.tar.bz2
linux-c3bf86f11dc9a11afb83b33f9640bf86adfb1b28.zip
perf metrics: Add has_pmem literal
Add literal so that if nvdimms aren't installed we can record fewer events. The file detection mechanism was suggested by Dan Williams <dan.j.williams@intel.com> in: https://lore.kernel.org/linux-perf-users/641bbe1eced26_1b98bb29440@dwillia2-xfh.jf.intel.com.notmuch/ Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Caleb Biggers <caleb.biggers@intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Edward Baker <edward.baker@intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Perry Taylor <perry.taylor@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Samantha Alt <samantha.alt@intel.com> Cc: Weilin Wang <weilin.wang@intel.com> Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com> Link: https://lore.kernel.org/r/20230324072218.181880-2-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions