]> git.baikalelectronics.ru Git - kernel.git/commit
mm: cma: add trace events for CMA alloc perf testing
authorLiam Mark <lmark@codeaurora.org>
Wed, 5 May 2021 01:37:25 +0000 (18:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 5 May 2021 18:27:24 +0000 (11:27 -0700)
commit29dee0c2e819a3e757e187498c0d8e20d4a8d020
tree670c177be7f22d8a39849161863f0d7fe8263f52
parentc08e5aafc20ce926d84aee9593f51da8c9d0bbf4
mm: cma: add trace events for CMA alloc perf testing

Add cma and migrate trace events to enable CMA allocation performance to
be measured via ftrace.

[georgi.djakov@linaro.org: add the CMA instance name to the cma_alloc_start trace event]
Link: https://lkml.kernel.org/r/20210326155414.25006-1-georgi.djakov@linaro.org
Link: https://lkml.kernel.org/r/20210324160740.15901-1-georgi.djakov@linaro.org
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/trace/events/cma.h
include/trace/events/migrate.h
mm/cma.c
mm/migrate.c