aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-09-30 11:48:32 -0300
committerArnaldo Carvalho de Melo <[email protected]>2019-09-30 17:29:57 -0300
commit9db0e3635fb35b6695275774ab909c51221b66ad (patch)
tree6598a9e707013cd46d88519d10b584c802a953f1 /tools/perf/scripts/python/mem-phys-addr.py
parentf67001a4a08eb124197ed4376941e1da9cf94b42 (diff)
perf evsel: Fall back to global 'perf_env' in perf_evsel__env()
I.e. if evsel->evlist or evsel->evlist->env isn't set, return the environment for the running machine, as that would be set if reading from a perf.data file. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions