From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754160AbbDGNCM (ORCPT ); Tue, 7 Apr 2015 09:02:12 -0400 Received: from mail.kernel.org ([198.145.29.136]:32998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753270AbbDGNCK (ORCPT ); Tue, 7 Apr 2015 09:02:10 -0400 Date: Tue, 7 Apr 2015 10:02:08 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Steven Rostedt , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Minchan Kim , Joonsoo Kim , linux-mm@kvack.org Subject: Re: [PATCH 9/9] tools lib traceevent: Honor operator priority Message-ID: <20150407130208.GH11983@kernel.org> References: <1428298576-9785-1-git-send-email-namhyung@kernel.org> <1428298576-9785-10-git-send-email-namhyung@kernel.org> <20150406104504.41e398d3@gandalf.local.home> <20150407075226.GE23913@sejong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150407075226.GE23913@sejong> X-Url: http://acmel.wordpress.com 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 Em Tue, Apr 07, 2015 at 04:52:26PM +0900, Namhyung Kim escreveu: > On Mon, Apr 06, 2015 at 10:45:04AM -0400, Steven Rostedt wrote: > > > type = process_arg_token(event, right, tok, type); > > > - arg->op.right = right; > > > + > > > + if (right->type == PRINT_OP && > > > + get_op_prio(arg->op.op) < get_op_prio(right->op.op)) { > > > + struct print_arg tmp; > > > + > > > + /* swap ops according to the priority */ > > This isn't really a swap. Better term to use is "rotate". > You're right! > > But other than that, > > Acked-by: Steven Rostedt > > Thanks for the review Ok, so just doing that s/swap/rotate/g, sticking Rostedt's ack and applying, ok? - Arnaldo