Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965816AbbBCQpz (ORCPT ); Tue, 3 Feb 2015 11:45:55 -0500 Received: from smtprelay0214.hostedemail.com ([216.40.44.214]:36094 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754570AbbBCQpy (ORCPT ); Tue, 3 Feb 2015 11:45:54 -0500 X-Session-Marker: 6E657665747340676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3870:3871:3873:3874:4362:5007:6261:7875:7974:9040:10004:10400:10848:10967:11026:11232:11658:11914:12043:12296:12438:12517:12519:12740:13069:13311:13357:14096:14097:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: light39_8a7f52bcc5a0c X-Filterd-Recvd-Size: 2286 Date: Tue, 3 Feb 2015 11:45:50 -0500 From: Steven Rostedt To: Jiri Olsa Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Jiri Olsa , Arnaldo Carvalho de Melo , Masami Hiramatsu , Namhyung Kim Subject: Re: [PATCH 6/6 v2] perf: Make perf aware of tracefs Message-ID: <20150203114550.6646db20@gandalf.local.home> In-Reply-To: <20150203141625.GA1359@krava.brq.redhat.com> References: <20150202193501.962297539@goodmis.org> <20150202193553.340946602@goodmis.org> <20150203141625.GA1359@krava.brq.redhat.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1392 Lines: 47 On Tue, 3 Feb 2015 15:16:25 +0100 Jiri Olsa wrote: > On Mon, Feb 02, 2015 at 02:35:07PM -0500, Steven Rostedt wrote: > > SNIP > > > } > > @@ -325,12 +351,19 @@ const char *perf_debugfs_mount(const char *mountpoint) > > void perf_debugfs_set_path(const char *mntpt) > > { > > snprintf(debugfs_mountpoint, strlen(debugfs_mountpoint), "%s", mntpt); > > - set_tracing_events_path(mntpt); > > + set_tracing_events_path("tracing/", mntpt); > > +} > > + > > +static const char *find_tracefs(void) > > +{ > > + const char *path = __perf_tracefs_mount(NULL); > > + > > + return path; > > I guess you ommited the fprint(stderr... ) warning on purpose > (like in find_debugfs), because the tracefs is not upstream yet, right? Right, because I didn't want people complaining about using a new perf with an old kernel, and suddenly get warnings. > > maybe we want at least pr_debug warning here.. > anyway, other than that the patchset looks ok to me: I was thinking that we could add one later, when tracefs is more common. > > Acked-by: Jiri Olsa Thanks! Arnaldo, do you want to pick this up? -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/