Re: [PATCH 0/3] ARM Coresight: Enhance ETM tracing control
From: Adrien VergÃ
Date: Wed Dec 04 2013 - 22:49:38 EST
2013/12/4 Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>:
> How much overhead does the existing tracing code have on ARM? Is ETM
> still even needed? Why not just use ETM for the core tracing code
> instead?
Coresight ETM is not just faster than /sys/kernel/debug/tracing, it
provides more detailed and customisable info. For instance, you can
trace every load, store, instruction fetch, along with the number of
cycles taken, with almost zero-overhead.
> What's wrong with the in-kernel tracing logic that you can't use that
> instead of the ETM stuff?
ETM has a different purpose. Integrating it in
/sys/kernel/debug/tracing would not take advantage of all its
features.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/