Skip to content

Processing java JIT dumps from containers

Arnaldo Carvalho de Melo linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5perf config: Fix trival typo 'an' -> 'can'tools/perf/Documentation/perf-config.txt+1 -10 replies
2/5perf jitdump: Accept jitdump mmaps emitted from inside containerstools/perf/util/jitdump.c+1 -10 replies
3/5perf namespaces: Introduce nsinfo__set_in_pidns()tools/perf/util/namespaces.c tools/perf/util/namespaces.h+6 -00 replies
4/5perf jitdump: Fixup in_pidns member when java agent and 'perf record' are not in the same pidnstools/perf/util/jitdump.c+12 -30 replies
5/5perf namespaces: Fixup the nsinfo__in_pidns() return type, its booltools/perf/util/namespaces.c tools/perf/util/namespaces.h+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5 v1] Processing java JIT dumps from containers

From: Arnaldo Carvalho de Melo <[email protected]>

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(-)
Signature · 1 line
2.47.0