Hello,

The goal of those two patches is to add debug and trace capabilities to CMA on going development.

The first patch allow to dump CMA bitmap status by a simple "cat /sys/kernel/debug/cma" command line.

The second add events trace points that can be used for performance and/or log with trace tools:
- to enable it "echo 1 > /sys/kernel/debug/tracing/events/cma/enable"
- to get the log "cat /sys/kernel/debug/tracing/events/trace"

Regards,

Benjamin 
--

Benjamin Gaignard 

Multimedia Working Group

Linaro.org │ Open source software for ARM SoCs

Follow Linaro: Facebook | Twitter | Blog