From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756850AbaFSBkn (ORCPT ); Wed, 18 Jun 2014 21:40:43 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43858 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756086AbaFSBkm (ORCPT ); Wed, 18 Jun 2014 21:40:42 -0400 Date: Wed, 18 Jun 2014 18:44:40 -0700 From: Greg KH To: Rob Clark Cc: Maarten Lankhorst , linux-arch@vger.kernel.org, Thomas Hellstrom , Linux Kernel Mailing List , "dri-devel@lists.freedesktop.org" , "linaro-mm-sig@lists.linaro.org" , Thierry Reding , Colin Cross , Daniel Vetter , Sumit Semwal , "linux-media@vger.kernel.org" Subject: Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17) Message-ID: <20140619014440.GA13493@kroah.com> References: <20140618102957.15728.43525.stgit@patser> <20140618103653.15728.4942.stgit@patser> <20140619011327.GC10921@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 18, 2014 at 09:23:06PM -0400, Rob Clark wrote: > On Wed, Jun 18, 2014 at 9:13 PM, Greg KH wrote: > > On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: > >> +#define CREATE_TRACE_POINTS > >> +#include > >> + > >> +EXPORT_TRACEPOINT_SYMBOL(fence_annotate_wait_on); > >> +EXPORT_TRACEPOINT_SYMBOL(fence_emit); > > > > Are you really willing to live with these as tracepoints for forever? > > What is the use of them in debugging? Was it just for debugging the > > fence code, or for something else? > > fwiw, the goal is something like this: > > http://people.freedesktop.org/~robclark/perf-supertuxkart.svg > > but without needing to make perf understand each driver's custom trace events > > (from: http://bloggingthemonkey.blogspot.com/2013/09/freedreno-update-moar-fps.html > ) Will these tracepoints provide something like that? If so, great, but I want to make sure as these now become a user/kernel ABI that you can not break. thanks, greg k-h