[PATCH 4/8] ARM: etm: Allow range selection
Arve Hjønnevåg
arve at android.com
Tue Feb 15 18:04:31 EST 2011
On Tue, Feb 15, 2011 at 5:50 AM, Alexander Shishkin <virtuoso at slind.org> wrote:
> On Mon, Feb 14, 2011 at 10:11:12PM -0800, Arve Hjønnevåg wrote:
>> Trace kernel text segment by default as before, allow tracing of other
>> ranges by writing a range to /sys/devices/etm/trace_range, or to trace
>> everything by writing 0 0.
>
> Since you're adding this, I think it might make sense to add a 3rd optional
> ctx id field, so that userspace tracing is also possible, especially when
> on-chip ETB sizes increase to something more sensible than what they are
> these days.
>
That might be useful, but I think it can be added later. My main
motivation for adding this is so we can turn off the filtering. We
want to use tracing in combination with a hardware watchdog to debug
hard lockups and we don't want any filtering in this case.
--
Arve Hjønnevåg
More information about the linux-arm-kernel
mailing list