From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753792AbbAYQ4a (ORCPT ); Sun, 25 Jan 2015 11:56:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50817 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752593AbbAYQ42 (ORCPT ); Sun, 25 Jan 2015 11:56:28 -0500 Date: Sun, 25 Jan 2015 17:56:19 +0100 From: Jiri Olsa To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Jiri Olsa , Arnaldo Carvalho de Melo , Masami Hiramatsu , Namhyung Kim Subject: Re: [PATCH 2/5] tools lib api fs: Add tracefs mount helper functions Message-ID: <20150125165619.GF31987@krava.brq.redhat.com> References: <20150124181330.195149364@goodmis.org> <20150124181448.680347393@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150124181448.680347393@goodmis.org> 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 Sat, Jan 24, 2015 at 01:13:32PM -0500, Steven Rostedt wrote: SNIP > @@ -0,0 +1,29 @@ > +#ifndef __API_TRACEFS_H__ > +#define __API_TRACEFS_H__ > + > +#define _STR(x) #x > +#define STR(x) _STR(x) > + > +/* > + * On most systems would have given us this, but not on some systems > + * (e.g. GNU/Hurd). > + */ > +#ifndef PATH_MAX > +#define PATH_MAX 4096 > +#endif > + > +#ifndef TRACEFS_MAGIC > +#define TRACEFS_MAGIC 0x74726163 > +#endif I missed the point when tracefs became actual standalone filesystem.. I'll check ;-) Is it mutualy exclusive to 'debugfs/tracing' or those 2 can live together? jirka