mm: cma: add the CMA instance name to cma trace events
authorMinchan Kim <minchan@kernel.org>
Wed, 5 May 2021 01:37:31 +0000 (18:37 -0700)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 7 Feb 2022 08:01:41 +0000 (17:01 +0900)
commit1f6567f4f9a0cfd54f30b359ef7e526109d96005
treef886b529e02b5be71e761d19c0fc148a7851ba74
parente71c66be5ef951c48cfbd71bacb91a47552930a9
mm: cma: add the CMA instance name to cma trace events

There were missing places to add cma instance name.  To identify each CMA
instance, let's add the name for every cma trace.  This patch also changes
the existing cma_trace_alloc to cma_trace_finish since we have
cma_alloc_start[1].

[1] https://lore.kernel.org/linux-mm/20210324160740.15901-1-georgi.djakov@linaro.org

Link: https://lkml.kernel.org/r/20210330220237.748899-1-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Liam Mark <lmark@codeaurora.org>
Cc: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=3aab8ae7aace3388da319a233edf48f0f5d26a44
Signed-off-by: Ɓukasz Stelmach <l.stelmach@samsung.com>
Change-Id: I94fb2a7925f56e467c954f4d07d492cbd1b1c4e4
include/trace/events/cma.h
mm/cma.c