From: "Xiang, Haihao" Subject: Re: [PATCH] intel: Add AUB file dump support Date: Tue, 22 Feb 2011 14:09:43 +0800 Message-ID: <1298354983.28271.24.camel@xhh-ctg32> References: <1297836461-31543-1-git-send-email-zhenyuw@linux.intel.com> <1297836461-31543-2-git-send-email-zhenyuw@linux.intel.com> <1298352046.28271.9.camel@xhh-ctg32> <20110222055132.GN22867@zhen-devel.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 7FDBB9E97E for ; Mon, 21 Feb 2011 22:10:16 -0800 (PST) In-Reply-To: <20110222055132.GN22867@zhen-devel.sh.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: Zhenyu Wang Cc: "intel-gfx@lists.freedesktop.org" , "Liu, Yuanhan" List-Id: intel-gfx@lists.freedesktop.org On Tue, 2011-02-22 at 13:51 +0800, Zhenyu Wang wrote: > On 2011.02.22 13:20:46 +0800, Xiang, Haihao wrote: > > Could you add a entry for media kernel for name_to_type_mapping or just > > use a common name for all tracked kernels? > > > > You mean media kernel requires special trace type? No. > > For mesa, kernel names depend on which cache it is from, and > as far as I know aub has no special requirement for kernel name. > AubList could decode kernel source with offset specified in pipe > states. > But I have to use a name specified in name_to_type_mapping when allocating a GEM BO for a media kernel, or aub doesn't know the trace type of this BO. Of course, I can also use 'VS_PROG'/'GS_PROG'/'CLIP_PROG'... for a media kernel :(.