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=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 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 CCACFC4338F for ; Mon, 26 Jul 2021 13:28:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A9B7960E09 for ; Mon, 26 Jul 2021 13:28:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233593AbhGZMrx (ORCPT ); Mon, 26 Jul 2021 08:47:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:56374 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233194AbhGZMrw (ORCPT ); Mon, 26 Jul 2021 08:47:52 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 6E0E060E09; Mon, 26 Jul 2021 13:28:20 +0000 (UTC) Date: Mon, 26 Jul 2021 09:28:18 -0400 From: Steven Rostedt To: Masami Hiramatsu Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Tom Zanussi , Namhyung Kim Subject: Re: [PATCH v2 2/2] tracing: Allow execnames to be passed as args for synthetic events Message-ID: <20210726092818.7d94027d@oasis.local.home> In-Reply-To: <20210725124502.54fa65251b5cd5b76fdf5f19@kernel.org> References: <20210722142705.992001628@goodmis.org> <20210722142837.458596338@goodmis.org> <20210723011935.efb25bc4a23ebd567243ed0f@kernel.org> <20210722123234.636d5363@oasis.local.home> <20210723101133.3378369c618c53f2e71d3e4c@kernel.org> <20210722212438.5933e714@rorschach.local.home> <20210724193145.c63b44aa843e05ed9c0b4fdc@kernel.org> <20210725111830.2f424ae3978443241b6d4a2d@kernel.org> <20210725124502.54fa65251b5cd5b76fdf5f19@kernel.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 25 Jul 2021 12:45:02 +0900 Masami Hiramatsu wrote: > And with this change, hist trigger can correctly detect a string type in > the operand in the expression and rejects it. > > Thank you, > > >From 5280d1efe4415a621cf69a1dc4861ab928b0ff1c Mon Sep 17 00:00:00 2001 > From: Masami Hiramatsu > Date: Sun, 25 Jul 2021 12:34:00 +0900 > Subject: [PATCH] tracing: Reject string operand in the histogram expression > > Since the string type can not be the target of the addition / subtraction > operation, it must be rejected. Without this fix, the string type silently > converted to digits. Masami, can you send this as a normal patch. My scripts do not work (nor do I plan on having them ever do so) with patches embedded in threads or non-patch emails. Thanks, -- Steve