From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932100AbaFCDMQ (ORCPT ); Mon, 2 Jun 2014 23:12:16 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.225]:17277 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752100AbaFCDMO (ORCPT ); Mon, 2 Jun 2014 23:12:14 -0400 Date: Mon, 2 Jun 2014 23:12:05 -0400 From: Steven Rostedt To: Namhyung Kim Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Ingo Molnar , Andrew Morton Subject: Re: [PATCH 2/4] tools lib traceevent: Add options to plugins Message-ID: <20140602231205.56bf9312@gandalf.local.home> In-Reply-To: <1400509775.1742.15.camel@leonhard> References: <20140516140215.149535442@goodmis.org> <20140516140502.340008258@goodmis.org> <1400509775.1742.15.camel@leonhard> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 May 2014 23:29:35 +0900 Namhyung Kim wrote: > > - * struct plugin_option PEVENT_PLUGIN_OPTIONS[] = { > > + * struct pevent_plugin_option PEVENT_PLUGIN_OPTIONS[] = { > > * { > > * .name = "option-name", > > * .plugin_alias = "overide-file-name", (optional) > > @@ -355,7 +355,7 @@ enum pevent_func_arg_type { > > enum pevent_flag { > > PEVENT_NSEC_OUTPUT = 1, /* output in NSECS */ > > PEVENT_DISABLE_SYS_PLUGINS = 1 << 1, > > - PEVENT_DISABLE_PLUGINS = 1 << 2, > > + PEVENT_DISABLE_PLUGINS = 1 << 2 > > Unnecessary change? Hmm, no idea why I changed that. > > +/** > > + * traceevent_plugin_list_options - get list of plugin options > > + * > > + * Returns an array of char strings that list the currently registered > > + * plugin options in the format of :