All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] perf jitdump: Fix PID namespace detection
@ 2025-11-05 19:10 Ilya Leoshkevich
  2025-11-05 19:10 ` [PATCH 1/5] " Ilya Leoshkevich
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Ilya Leoshkevich @ 2025-11-05 19:10 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, linux-perf-users, Heiko Carstens, Vasily Gorbik,
	Alexander Gordeev, Ilya Leoshkevich

Hi,

I ran into a problem with perf jitdump not working with still running
namespaced processes and started (very slowly) working on a series that
allows perf to record accurate PID namespace information [1] and use
that instead of resorting to guesswork.

However, I realized that at least short-term it's possible to fix the
existing heuristic, so I've created this series. Patch 1 is the fix.
Patches 2-4 are small changes to the existing test, and patch 5 adds
a test that reproduces the situation that I'm facing.

[1] https://github.com/iii-i/linux/commits/iii/wip/nspid/

Best regards,
Ilya

Ilya Leoshkevich (5):
  perf jitdump: Fix PID namespace detection
  perf test java symbol: Get rid of shellcheck warnings
  perf test java symbol: Extract LIBJVMTI detection
  perf test java symbol: Fix a false negative in symbol regex
  perf test java symbol: Add PID namespace variant

 tools/perf/tests/shell/lib/setup_libjvmti.sh  |  18 +++
 tools/perf/tests/shell/test_java_symbol.sh    |  39 +++--
 .../tests/shell/test_java_symbol_pidns.sh     | 135 ++++++++++++++++++
 tools/perf/util/jitdump.c                     |  27 +++-
 tools/perf/util/namespaces.c                  |   9 ++
 tools/perf/util/namespaces.h                  |   2 +
 6 files changed, 201 insertions(+), 29 deletions(-)
 create mode 100644 tools/perf/tests/shell/lib/setup_libjvmti.sh
 create mode 100755 tools/perf/tests/shell/test_java_symbol_pidns.sh

-- 
2.51.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-11-14 18:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-05 19:10 [PATCH 0/5] perf jitdump: Fix PID namespace detection Ilya Leoshkevich
2025-11-05 19:10 ` [PATCH 1/5] " Ilya Leoshkevich
2025-11-07  2:16   ` Namhyung Kim
2025-11-07  8:19     ` Ilya Leoshkevich
2025-11-14  8:07       ` Namhyung Kim
2025-11-14 12:44         ` Ilya Leoshkevich
2025-11-14 18:44           ` Namhyung Kim
2025-11-05 19:10 ` [PATCH 2/5] perf test java symbol: Get rid of shellcheck warnings Ilya Leoshkevich
2025-11-07  2:07   ` Namhyung Kim
2025-11-07  7:57     ` Ilya Leoshkevich
2025-11-05 19:10 ` [PATCH 3/5] perf test java symbol: Extract LIBJVMTI detection Ilya Leoshkevich
2025-11-05 19:10 ` [PATCH 4/5] perf test java symbol: Fix a false negative in symbol regex Ilya Leoshkevich
2025-11-07  2:08   ` Namhyung Kim
2025-11-07  7:59     ` Ilya Leoshkevich
2025-11-05 19:10 ` [PATCH 5/5] perf test java symbol: Add PID namespace variant Ilya Leoshkevich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.