Re: [PATCH] mm/cma: print total and used pages in cma_alloc()
From: David Hildenbrand
Date: Sat Aug 16 2025 - 02:58:05 EST
On 16.08.25 08:42, Giorgi Tchankvetadze wrote:
What about using tracepoints?
Add a trace_cma_alloc() event that only runs when tracing is enabled. No
lock unless someone is actively monitoring
Tracing in general sounds like a much better approach here than the two
pr_debug() in this function.
--
Cheers
David / dhildenb