From: Yuanhan Liu Subject: Re: [PATCH] drm/i915: Add aub debug support for kernel Date: Tue, 9 Nov 2010 09:55:25 +0800 Message-ID: <20101109015525.GB32721@localhost.localdomain> References: <5b55a1$ij0t3g@fmsmga002.fm.intel.com> <5b55a1$ijdg71@fmsmga002.fm.intel.com> <1289208208.31912.81.camel@snb-beast.sh.intel.com> <0d30dc$k40epi@orsmga001.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A8F89E7D9 for ; Mon, 8 Nov 2010 17:55:07 -0800 (PST) Content-Disposition: inline In-Reply-To: <0d30dc$k40epi@orsmga001.jf.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On Mon, Nov 08, 2010 at 09:55:23AM +0000, Chris Wilson wrote: > > While, I am not saying I am waiting upstream to receive that patch. I > > mean we can hold on for a while: I think the trace-event can export > > some more friendly interface for enabling specified event at module > > load time. (I might make some patches if I have time). > > So long as you can enable it locally to develop the debug tools that will > do for the time being. You'll want to send the > EXPORT_SYMBOL_GPL(trace_set_clr_event) upstream and cc Steven Rostedt with > an outline of why we want it, he may be able to show us the best way of > integrating an module hook to parse tracing options. Yes, he did. And seems that a friendly interface for enabling speified event on module load is on the way;) Thanks. -- Yuanhan Liu