summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-03-19 08:07:34 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-03-21 08:58:05 +0300
commit70351029b55677ebfe5af60477a79f68724ff72f (patch)
tree25e4eee453c17bdd46fd6a3e393a2d5692c1b080 /tools/perf/scripts/python/exported-sql-viewer.py
parentafffec6f032926f70fc9f43f5d07cdfa09a0a184 (diff)
downloadlinux-70351029b55677ebfe5af60477a79f68724ff72f.tar.xz
perf thread: Add support for reading the e_machine type for a thread
First try to read the e_machine from the dsos associated with the thread's maps. If live use the executable from /proc/pid/exe and read the e_machine from the ELF header. On failure use EM_HOST. Change builtin-trace syscall functions to pass e_machine from the thread rather than EM_HOST, so that in later patches when syscalltbl can use the e_machine the system calls are specific to the architecture. Signed-off-by: Ian Rogers <irogers@google.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Arnaldo Carvalho de Melo <acme@kernel.org> Link: https://lore.kernel.org/r/20250319050741.269828-8-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions