msm: qdss: only trace kernel code by default
Enable the include range filter by default to just trace kernel
code. This will ensure that non-kernel code doesn't fill up the ETB
buffer thereby increasing the amount of kernel code that ends up in
the ETB.
This also ensures TZ fiq handling for watchdog bark doesn't pollute
the ETB buffer and hence the trace can be used to debug watchdog
barks.
Also create a new reset node:
/sys/module/qdss/etm/reset
which can be used by the user to reset the programmable etm values
to their default state such that everything gets traced i.e.
nothing gets excluded.
To reset:
echo 1 > /sys/module/qdss/etm/reset
cat /sys/module/qdss/etm/reset will always show a value of 0x0 and
should not be interpreted to infer the reset state of the
programmable etm values. Instead perform a "cat" on the respective
etm nodes to see their values.
Change-Id: I64c83b05b384d939436303f1aec9e9335dd19ac5
Signed-off-by:
Pratik Patel <pratikp@codeaurora.org>
Loading
Please sign in to comment