diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2025-08-12 12:39:12 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-08-15 13:13:02 +0200 |
| commit | 59741451b49ce9964a9758c19d6f7df2a1255c75 (patch) | |
| tree | 7eb01f580aa95efe9c4ddc7df5fcfedcd531ed50 /scripts/gdb/linux/mm.py | |
| parent | d23a6dbc0a71741eb7b141fdc04e31360fba46ef (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
