Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756397Ab1BOXEg (ORCPT ); Tue, 15 Feb 2011 18:04:36 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:50472 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755482Ab1BOXEd convert rfc822-to-8bit (ORCPT ); Tue, 15 Feb 2011 18:04:33 -0500 MIME-Version: 1.0 In-Reply-To: <20110215135054.GD18248@shisha.kicks-ass.net> References: <1296701663-12168-1-git-send-email-arve@android.com> <1297750276-12475-4-git-send-email-arve@android.com> <20110215135054.GD18248@shisha.kicks-ass.net> Date: Tue, 15 Feb 2011 15:04:31 -0800 Message-ID: Subject: Re: [PATCH 4/8] ARM: etm: Allow range selection From: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= To: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Russell King , Jason Wessel , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1097 Lines: 24 On Tue, Feb 15, 2011 at 5:50 AM, Alexander Shishkin 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/