[PATCH 0/5 v1] Processing java JIT dumps from containers
From: Arnaldo Carvalho de Melo
Date: Fri Dec 06 2024 - 15:48:43 EST
From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Hi,
This is trying to move the needle on supporting jitdump done
from a container while perf is running from the outside, that is not
working right now.
I tried to collect as much details on what is being done in the
commit logs to document further work that needs to be done to support
such a scenario in a streamlined way, but what in this patchkit at least
helped in a real case, allowing us to get 'perf annotate' to work and
confirm suspicions.
- Arnaldo
Arnaldo Carvalho de Melo (5):
perf config: Fix trival typo 'an' -> 'can'
perf jitdump: Accept jitdump mmaps emitted from inside containers
perf namespaces: Introduce nsinfo__set_in_pidns()
perf jitdump: Fixup in_pidns member when java agent and 'perf record' are not in the same pidns
perf namespaces: Fixup the nsinfo__in_pidns() return type, its bool
tools/perf/Documentation/perf-config.txt | 2 +-
tools/perf/util/jitdump.c | 15 ++++++++++++---
tools/perf/util/namespaces.c | 7 ++++++-
tools/perf/util/namespaces.h | 3 ++-
4 files changed, 21 insertions(+), 6 deletions(-)
--
2.47.0