Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757057AbbKEXSI (ORCPT ); Thu, 5 Nov 2015 18:18:08 -0500 Received: from LGEAMRELO12.lge.com ([156.147.23.52]:46352 "EHLO lgeamrelo12.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756822AbbKEXSG (ORCPT ); Thu, 5 Nov 2015 18:18:06 -0500 X-Original-SENDERIP: 156.147.1.126 X-Original-MAILFROM: namhyung@kernel.org X-Original-SENDERIP: 165.244.98.76 X-Original-MAILFROM: namhyung@kernel.org X-Original-SENDERIP: 10.177.227.17 X-Original-MAILFROM: namhyung@kernel.org Date: Fri, 6 Nov 2015 08:18:02 +0900 From: Namhyung Kim To: Tom Zanussi CC: rostedt@goodmis.org, daniel.wagner@bmw-carit.de, masami.hiramatsu.pt@hitachi.com, josh@joshtriplett.org, andi@firstfloor.org, mathieu.desnoyers@efficios.com, peterz@infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/28] tracing: 'hist' triggers Message-ID: <20151105231802.GA21269@sejong> References: <20151105144334.GA28273@danjae.kornet> <1446761582.26677.77.camel@tzanussi-mobl.amr.corp.intel.com> MIME-Version: 1.0 In-Reply-To: <1446761582.26677.77.camel@tzanussi-mobl.amr.corp.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB03/LGE/LG Group(Release 8.5.3FP3HF583 | August 9, 2013) at 2015/11/06 08:18:02, Serialize by Router on LGEKRMHUB03/LGE/LG Group(Release 8.5.3FP3HF583 | August 9, 2013) at 2015/11/06 08:18:02, Serialize complete at 2015/11/06 08:18:02 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1633 Lines: 56 On Thu, Nov 05, 2015 at 04:13:02PM -0600, Tom Zanussi wrote: > Hi Namhyung, > > On Thu, 2015-11-05 at 23:43 +0900, Namhyung Kim wrote: > > Hi Tom, > > > > I implemented 'log2' modifier on top of your v11 patchset. Could you > > please take a look at this? > > > > Very nice, thanks for doing this. > > I just noticed one small problem in that the modifier doesn't get > printed in the output. The below patch fixes that. Ah, thanks! > > I can just merge that change into your patch and add it to my series, > otherwise please let me know what you'd like me to do.. It'd be great if you take this (with the fix) into your series. Thanks, Namhyung > > Signed-off-by: Tom Zanussi > --- > kernel/trace/trace_events_hist.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/kernel/trace/trace_events_hist.c > b/kernel/trace/trace_events_hist.c > index 20a17fd..7621748 100644 > --- a/kernel/trace/trace_events_hist.c > +++ b/kernel/trace/trace_events_hist.c > @@ -1092,6 +1092,8 @@ static const char *get_hist_field_flags(struct > hist_field *hist_field) > flags_str = "execname"; > else if (hist_field->flags & HIST_FIELD_SYSCALL) > flags_str = "syscall"; > + else if (hist_field->flags & HIST_FIELD_LOG2) > + flags_str = "log2"; > > return flags_str; > } > > > -- 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/