diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2018-11-27 14:45:49 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-12-17 17:54:02 +0000 |
| commit | 804234f27180dcf9a25cb98a88d5212f65b7f3fd (patch) | |
| tree | 7db3f0077f8fd3ec0f437509d56507af8cf7a5ad /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf map: Remove extra indirection from map__find() (diff) | |
| download | kernel-804234f27180dcf9a25cb98a88d5212f65b7f3fd.tar.gz kernel-804234f27180dcf9a25cb98a88d5212f65b7f3fd.zip | |
perf env: Also consider env->arch == NULL as local operation
We'll set a new machine field based on env->arch, which for live mode,
like with 'perf top' means we need to use uname() to figure the name of
the arch, fix perf_env__arch() to consider both (env == NULL) and
(env->arch == NULL) as local operation.
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Cc: [email protected] # 4.19
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
