diff options
| author | Wander Lairson Costa <wander@redhat.com> | 2025-08-25 09:59:26 -0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-13 16:55:18 -0700 |
| commit | dfd04add595b97758c8ad1ee970554b7af5c57dd (patch) | |
| tree | 59eee415df0db8c84153204d878c4f18dcf5daeb /mm/page_alloc.c | |
| parent | mm/page-writeback: drop usage of folio_index (diff) | |
| download | linux-dfd04add595b97758c8ad1ee970554b7af5c57dd.tar.gz linux-dfd04add595b97758c8ad1ee970554b7af5c57dd.zip | |
kmem/tracing: add kmem name to kmem_cache_alloc tracepoint
The kmem_cache_free tracepoint includes a "name" field, which allows for
easy identification and filtering of specific kmem's. However, the
kmem_cache_alloc tracepoint lacks this field, making it difficult to pair
corresponding alloc and free events for analysis.
Add the "name" field to kmem_cache_alloc to enable consistent tracking and
correlation of kmem alloc and free events.
Link: https://lkml.kernel.org/r/20250825125927.59816-1-wander@redhat.com
Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Martin Liu <liumartin@google.com>
Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions
