]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf test code-reading: Fix perf_env setup for PTI entry trampolines
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 5 Jun 2018 07:30:00 +0000 (10:30 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Jun 2018 15:52:05 +0000 (12:52 -0300)
commitf6c66d73bb8192d357bb5fb8cd5826920f811d8c
treec91d79d859550eda087209c7fa8b4e8a70ac5888
parentceac7b79df7bd67ef9aaf464b0179a2686aff4ee
perf test code-reading: Fix perf_env setup for PTI entry trampolines

The "Object code reading" test will not create maps for the PTI entry
trampolines unless the machine environment exists to show that the arch is
x86_64.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1528183800-21577-1-git-send-email-adrian.hunter@intel.com
[ split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/code-reading.c