mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
ANDROID: vendor_hooks: Export cma_alloc trace points
For cma_alloc latency measurement. Bug: 315897033 Change-Id: I5941c0e0017728dc2139d5fad073f8b58f4efa29 Signed-off-by: Richard Chang <richardycc@google.com>
This commit is contained in:
6
mm/cma.c
6
mm/cma.c
@@ -38,6 +38,12 @@
|
||||
|
||||
#include "cma.h"
|
||||
|
||||
#undef CREATE_TRACE_POINTS
|
||||
#include <trace/hooks/mm.h>
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(cma_alloc_start);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(cma_alloc_finish);
|
||||
|
||||
struct cma cma_areas[MAX_CMA_AREAS];
|
||||
unsigned cma_area_count;
|
||||
static DEFINE_MUTEX(cma_mutex);
|
||||
|
||||
Reference in New Issue
Block a user