From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753946AbcBWOiY (ORCPT ); Tue, 23 Feb 2016 09:38:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45238 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753620AbcBWOiV (ORCPT ); Tue, 23 Feb 2016 09:38:21 -0500 Date: Tue, 23 Feb 2016 11:38:19 -0300 From: Arnaldo Carvalho de Melo To: Steven Rostedt Cc: Daniel Bristot de Oliveira , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Juri Lelli , LKML , linux-rt-users Subject: Re: [PATCH 4/4] tools lib traceevent: Implements '%' operation Message-ID: <20160223143819.GA2749@redhat.com> References: <5c96a395c56cea6d3d13d949051bdece86cc26e0.1456157869.git.bristot@redhat.com> <20160222152303.02f79376@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160222152303.02f79376@gandalf.local.home> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 23 Feb 2016 14:38:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Feb 22, 2016 at 03:23:03PM -0500, Steven Rostedt escreveu: > On Mon, 22 Feb 2016 14:08:22 -0300 > Daniel Bristot de Oliveira wrote: > > > The operation '%' is not implemented on event-parse.c, causing > > an error on the parse of events with '%' operation on its > > printk format. For example, > > > > # perf record -e sched:sched_deadline_yield ~/y > > Warning: [sched:sched_deadline_yield] unknown op '%' > > .... > > # perf script > > Warning: [sched:sched_deadline_yield] unknown op '%' > > y 1641 [006] 3364.109319: sched:sched_deadline_yield: \ > > [FAILED TO PARSE] now=3364109314595 \ > > deadline=3364139295135 runtime=19975597 > > > > This patch implements the '%' operation. With this patch, we see the > > correct output: > > > > # perf record -e sched:sched_deadline_yield ~/y > > No Warning > > > > # perf script > > y 4005 [001] 4623.650978: sched:sched_deadline_yield: \ > > now=4623.650974050 \ > > deadline=4623.680957364 remaining_runtime=19979611 > > > > Signed-off-by: Daniel Bristot de Oliveira > > Arnaldo, > > This patch is not dependent on the rest of the series and looks like a > good general fix. > > Can you pull this one into your tree, and please add my: > > Reviewed-by: Steven Rostedt Done, thanks. - Arnaldo