From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13733 invoked by alias); 20 Jul 2014 03:17:57 -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 13682 invoked by uid 89); 20 Jul 2014 03:17:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail7.hitachi.co.jp Received: from mail7.hitachi.co.jp (HELO mail7.hitachi.co.jp) (133.145.228.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 20 Jul 2014 03:17:54 +0000 Received: from mlsv4.hitachi.co.jp (unknown [133.144.234.166]) by mail7.hitachi.co.jp (Postfix) with ESMTP id 11A1437AC3; Sun, 20 Jul 2014 12:17:52 +0900 (JST) Received: from mfilter06.hitachi.co.jp by mlsv4.hitachi.co.jp (8.13.1/8.13.1) id s6K3HqT8002385; Sun, 20 Jul 2014 12:17:52 +0900 Received: from vshuts01.hitachi.co.jp (vshuts01.hitachi.co.jp [10.201.6.83]) by mfilter06.hitachi.co.jp (Switch-3.3.4/Switch-3.3.4) with ESMTP id s6K3Hopl007495; Sun, 20 Jul 2014 12:17:51 +0900 Received: from gxml20a.ad.clb.hitachi.co.jp (unknown [158.213.157.160]) by vshuts01.hitachi.co.jp (Postfix) with ESMTP id 2A7622F0038; Sun, 20 Jul 2014 12:17:50 +0900 (JST) Received: from [10.198.219.41] by gxml20a.ad.clb.hitachi.co.jp (Switch-3.1.10/Switch-3.1.9) id 66K31HDC10000E7C4; Sun, 20 Jul 2014 12:17:49 +0900 Message-ID: <53CB34D9.8090807@hitachi.com> Date: Sun, 20 Jul 2014 03:17:00 -0000 From: Masami Hiramatsu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Andi Kleen Cc: Hemant Kumar , linux-kernel@vger.kernel.org, srikar@linux.vnet.ibm.com, peterz@infradead.org, oleg@redhat.com, hegdevasant@linux.vnet.ibm.com, mingo@redhat.com, anton@redhat.com, systemtap@sourceware.org, namhyung@kernel.org, aravinda@linux.vnet.ibm.com, penberg@iki.fi Subject: Re: [PATCH v2 1/3] perf/sdt : Listing of SDT markers by perf References: <20140717054826.19995.61782.stgit@hemant-fedora> <20140717055341.19995.97042.stgit@hemant-fedora> <87d2d24kui.fsf@tassilo.jf.intel.com> In-Reply-To: <87d2d24kui.fsf@tassilo.jf.intel.com> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-q3/txt/msg00049.txt.bz2 (2014/07/19 2:50), Andi Kleen wrote: > Hemant Kumar writes: > > First I should say supporting these probes is very useful. Thanks for > working on this. > >> + >> +#define SDT_CACHE_DIR "/var/cache/perf/" > > This requires running perf as root, right? > > It would be better to use the $HOME cache dir, like the recent JSON patches. Even though, we have to enhance uprobe-tracer that allows non-root user to add/remove events. :) Anyway, I guess we can use ~/.debug for this purpose as buildid-cache does. Thank you, -- Masami HIRAMATSU Software Platform Research Dept. Linux Technology Research Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu.pt@hitachi.com