Re: [PATCH] mm: cma: add trace events for CMA alloc perf testing
From: Steven Rostedt
Date: Wed Mar 24 2021 - 12:27:20 EST
On Wed, 24 Mar 2021 18:07:40 +0200
Georgi Djakov <georgi.djakov@xxxxxxxxxx> wrote:
> From: Liam Mark <lmark@xxxxxxxxxxxxxx>
>
> Add cma and migrate trace events to enable CMA allocation
> performance to be measured via ftrace.
>
> Signed-off-by: Liam Mark <lmark@xxxxxxxxxxxxxx>
> Signed-off-by: Georgi Djakov <georgi.djakov@xxxxxxxxxx>
> ---
> include/trace/events/cma.h | 39 +++++++++++++++++++++++++++++++++-
> include/trace/events/migrate.h | 22 +++++++++++++++++++
> mm/cma.c | 4 ++++
> mm/migrate.c | 2 ++
> 4 files changed, 66 insertions(+), 1 deletion(-)
>From a tracing perspective:
Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
-- Steve