From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7867 invoked by alias); 10 Nov 2014 12:50:36 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 7855 invoked by uid 89); 10 Nov 2014 12:50:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: bombadil.infradead.org Received: from bombadil.infradead.org (HELO bombadil.infradead.org) (198.137.202.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 10 Nov 2014 12:50:34 +0000 Received: from 178-85-85-44.dynamic.upc.nl ([178.85.85.44] helo=twins) by bombadil.infradead.org with esmtpsa (Exim 4.80.1 #2 (Red Hat Linux)) id 1XnoQN-00086o-NV; Mon, 10 Nov 2014 12:50:28 +0000 Received: by twins (Postfix, from userid 1000) id 1C516125318F8; Mon, 10 Nov 2014 13:50:21 +0100 (CET) Date: Mon, 10 Nov 2014 12:50:00 -0000 From: Peter Zijlstra To: Hagen Paul Pfeifer Cc: Masami Hiramatsu , Hemant Kumar , Namhyung Kim , Arnaldo Carvalho de Melo , "linux-kernel@vger.kernel.org" , srikar@linux.vnet.ibm.com, oleg@redhat.com, hegdevasant@linux.vnet.ibm.com, mingo@redhat.com, systemtap@sourceware.org, aravinda@linux.vnet.ibm.com, penberg@iki.fi, brendan.d.gregg@gmail.com, "yrl.pp-manager.tt@hitachi.com" Subject: Re: [RFC] perf-cache command interface design Message-ID: <20141110125021.GP3337@twins.programming.kicks-ass.net> References: <20141102105006.21708.28734.stgit@hemant-fedora> <20141102105557.21708.19032.stgit@hemant-fedora> <87lhnr5sbl.fsf@sejong.aot.lge.com> <54588905.7040002@linux.vnet.ibm.com> <5458CD15.4010101@hitachi.com> <874muew2hk.fsf@sejong.aot.lge.com> <5459E865.6050207@hitachi.com> <545B1DDE.9000202@linux.vnet.ibm.com> <545C80F4.4020905@hitachi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) X-SW-Source: 2014-q4/txt/msg00135.txt.bz2 On Mon, Nov 10, 2014 at 01:05:45PM +0100, Hagen Paul Pfeifer wrote: > On 7 November 2014 09:21, Masami Hiramatsu > wrote: > > > File Format > > =========== > > All the cache files are placed under ~/.debug/ by default. > > The paths of buildid cache of binary/symbols are not changed. > > > > The SDT/probe caches are placed under the ~/.debug/.probes/path/to/bin/bu/ildid > > and that is linked to ~/.debug/.probes/.buildid/bu/ildid > > # To avoid conflict with files under /probes/*, I picked up .probes/. > > A little bit late: but why ~/.debug? Why not $XDG_CACHE_HOME/perf/ as > the root for all perf related files? debug is not unique nor is it sufficient > to meet file hierarchy: man file-hierarchy(8) # env | grep XDG | wc -l 0 Which renders it useless crap in my book. I agree on the .debug name being somewhat generic, also, it would be: man 8 file-hierarchy, but that too fails: $ man file-hierarchy No manual entry for file-hierarchy