From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 134AAC433E0 for ; Thu, 18 Jun 2020 13:25:00 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CBCAD20884 for ; Thu, 18 Jun 2020 13:24:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="2mhTfcR0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CBCAD20884 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 29DE18D000F; Thu, 18 Jun 2020 09:24:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 228218D000E; Thu, 18 Jun 2020 09:24:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0EF998D000F; Thu, 18 Jun 2020 09:24:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0174.hostedemail.com [216.40.44.174]) by kanga.kvack.org (Postfix) with ESMTP id E6DAC8D000E for ; Thu, 18 Jun 2020 09:24:58 -0400 (EDT) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 5A85611918 for ; Thu, 18 Jun 2020 13:24:58 +0000 (UTC) X-FDA: 76942403076.05.sand54_480069626e10 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin05.hostedemail.com (Postfix) with ESMTP id 3559C180002AF for ; Thu, 18 Jun 2020 13:24:58 +0000 (UTC) X-HE-Tag: sand54_480069626e10 X-Filterd-Recvd-Size: 3700 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf02.hostedemail.com (Postfix) with ESMTP for ; Thu, 18 Jun 2020 13:24:57 +0000 (UTC) Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C5554207D8; Thu, 18 Jun 2020 13:24:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592486697; bh=BOKyY/2jbcNGQCBQvQABfthHJetuXuHqe++i/vRthdg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2mhTfcR07GYDoBxWR2tp1cTs0+gPxz0FV1Dmp91dE3F5M+y0X+cHbq5PNEoahLmyL L4foUHmIKHweq/+T82ovDGWjvjeizwI2mlMuKhJfF8SwWTQTh0LFHSNI3AjFkxqUPR Mjfd1eVShvrIcL1ZAwQ2isbm8MvtqH1W8J9wNyqo= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id D68A7405FF; Thu, 18 Jun 2020 10:24:54 -0300 (-03) Date: Thu, 18 Jun 2020 10:24:54 -0300 From: Arnaldo Carvalho de Melo To: Arnaldo Carvalho de Melo Cc: Steven Rostedt , linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org, Ingo Molnar , Jiri Olsa , Namhyung Kim , Andrew Morton , linux-mm@kvack.org, Jaewon Kim , Vlastimil Babka , Kees Cook Subject: Re: [PATCH 0/3] tool lib traceevent: Fix some parsing errors Message-ID: <20200618132454.GA26403@kernel.org> References: <20200324200845.763565368@goodmis.org> <20200617172804.7eccb845@oasis.local.home> <656DB3D9-6D76-4103-B05B-8E4FE142C3B9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <656DB3D9-6D76-4103-B05B-8E4FE142C3B9@gmail.com> X-Url: http://acmel.wordpress.com X-Rspamd-Queue-Id: 3559C180002AF X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam03 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Em Wed, Jun 17, 2020 at 07:55:29PM -0300, Arnaldo Carvalho de Melo escreveu: > > > On June 17, 2020 6:28:04 PM GMT-03:00, Steven Rostedt wrote: > >Hi Arnaldo, > > > >I guess these patches were missed. > > I'll pick those tomorrow, > > Thanks for the reminder, Thanks, applied to perf/urgent, for v5.8. - Arnaldo > > - Arnaldo > > > > >-- Steve > > > > > >On Tue, 24 Mar 2020 16:08:45 -0400 > >Steven Rostedt wrote: > > > >> Arnaldo, > >> > >> Here's a few patches for lib traceevent. > >> > >> The first one adds an "append()" helper function for appending to > >strings, > >> which will also simplify the next patch. > >> > >> The second patch handles "__attribute__((user))" in the field of a > >> trace event. This is needed after the stack leak code added this > >> to parameters of system call events. > >> > >> The last patch adds handling of __builtin_expect(), as someone wanted > >> to move IS_ERR_VALUE() from the fast path into the print fmt section, > >> which breaks the parsing. This should also be useful for other macros > >> that may evaluate down to a __builtin_expect(). > >> > >> Steven Rostedt (VMware) (3): > >> tools lib traceevent: Add append() function helper for > >appending strings > >> tools lib traceevent: Handle __attribute__((user)) in field > >names > >> tools lib traceevent: Add handler for __builtin_expect() > >> > >> ---- > >> tools/lib/traceevent/event-parse.c | 168 > >++++++++++++++++++++++++------------- > >> 1 file changed, 111 insertions(+), 57 deletions(-) > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > -- - Arnaldo