summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/mm.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2025-08-12 12:39:12 +0200
committerPeter Zijlstra <peterz@infradead.org>2025-08-15 13:13:02 +0200
commit59741451b49ce9964a9758c19d6f7df2a1255c75 (patch)
tree7eb01f580aa95efe9c4ddc7df5fcfedcd531ed50 /scripts/gdb/linux/mm.py
parentd23a6dbc0a71741eb7b141fdc04e31360fba46ef (diff)
perf: Identify the 0->1 transition for event::mmap_count
Needed because refcount_inc() doesn't allow the 0->1 transition. Specifically, this is the case where we've created the RB, this means there was no RB, and as such there could not have been an mmap. Additionally we hold mmap_mutex to serialize everything. This must be the first. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20250812104019.956479989@infradead.org
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions