Linux Trace Kernel
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mm: trace: decode architecture-specific VMA flags
@ 2026-09-02  6:45 Meijing Zhao
  2026-09-02  6:45 ` [PATCH v2 1/3] mm: trace: decode arm64 and sparc64 VM_ARCH_1 flags Meijing Zhao
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Meijing Zhao @ 2026-09-02  6:45 UTC (permalink / raw)
  To: Lorenzo Stoakes, Andrew Morton
  Cc: Meijing Zhao, Steven Rostedt, Masami Hiramatsu, Mathieu Desnoyers,
	Wandun Chen, linux-mm, linux-trace-kernel, linux-kernel

From: Meijing Zhao <zhaomeijing@lixiang.com>

show_vma_flags(), which is used by VMA tracepoints and %pGv, names
generic VM_* bits but does not fully decode architecture-specific flag
positions.  As a result, trace output and VMA dumps can show a generic
"arch_1" name or a raw hexadecimal value instead of the meaning assigned
by the target architecture.

This series adds symbolic names for the arm64 and sparc64 meanings of
VM_ARCH_1, arm64 MTE flags, user shadow stack flags, and protection-key
encoding bits under their corresponding configuration guards.

Changes in v2:
- Rebase onto v7.3-rc1.
- Fix the patch 1 changelog: "bti" and "adi" are descriptive trace
  names, but do not match the two-character smaps mnemonics.
- Cc Lorenzo Stoakes.

Meijing Zhao (3):
  mm: trace: decode arm64 and sparc64 VM_ARCH_1 flags
  mm: trace: decode MTE and shadow stack VMA flags
  mm: trace: name protection key encoding bits

 include/trace/events/mmflags.h | 43 ++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

-- 
2.25.1

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

end of thread, other threads:[~2026-09-02  6:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02  6:45 [PATCH v2 0/3] mm: trace: decode architecture-specific VMA flags Meijing Zhao
2026-09-02  6:45 ` [PATCH v2 1/3] mm: trace: decode arm64 and sparc64 VM_ARCH_1 flags Meijing Zhao
2026-09-02  6:45 ` [PATCH v2 2/3] mm: trace: decode MTE and shadow stack VMA flags Meijing Zhao
2026-09-02  6:45 ` [PATCH v2 3/3] mm: trace: name protection key encoding bits Meijing Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox