Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3541530pxv; Mon, 26 Jul 2021 06:29:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhPPGbh58LpDQxG5G8TFjtpyw8Hfd4SHoHAymeSGA46bWIKoNRGbsMzkrg2MQzEv0QIFw5 X-Received: by 2002:a92:ae03:: with SMTP id s3mr12516403ilh.51.1627306186751; Mon, 26 Jul 2021 06:29:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627306186; cv=none; d=google.com; s=arc-20160816; b=azKIim1R/SOjVoFJPE8JsZ0qbjbePvfzygi3ImYXMK4skS4Cih0nP58XWucGYDVRWi tJDk9Q+6Hk+hR9BXRkerHHV5ihlgc+2xEAjS1h1sd/kvm5dQZMch2x0qB3IfTZt1mCOK 2ThJ5Sn4WVW70b4rZpNpXgViZl9uZQJiyWCVw3GLXSPh89sGMMrSuHibY8tZzfPmxwZJ MFNigaNE5v6IusCrNvhbhqBm0VTX0sX8N0dKhqZBVWzM/3tJbSuYDx99c0nciQwrCIM4 C/ZK7/HsK8+9a5g75z3xZ/OvAC+oHc0kj7k2L2sj6NFWPZwNS+eh/zOIPH+lp2SpCCRd tvMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=QaXN8JFHYlLNJfZW7QprZXQYUoPT8P8kK6zgQ2COKU8=; b=uy3bT2QAz7KHIs3aNcFtW25QSjAvKwNO+0EQv44VFNSjf+p3IUAeOD4t7CB+GEqda5 DWhem0hwurY5bk0ipxRmst8q1cXrcSFaImGJrj63uZZDL1+XWWNuDnMeBAE6LZs57ADH xrtChxML/90SsQAiF7tKXcamb5k1HqDHMxgDbI+rYHAjUn0ZhuhNB3R+9N7jD6KVGECv Q34UeZl6/SnwELOduHFjIaOkQxrZ8CEiGv7SD8NVPpo53UXL4prJd8aQIydGwR4oYtCv q1dfmToCconnV0yq5nIlRzbEhHpHVlECo1lIPQ1ZeiIurxnNgBubmPVoiIvLuDLiEhQF bmpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n12si44024893ilq.134.2021.07.26.06.29.35; Mon, 26 Jul 2021 06:29:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233534AbhGZMrw (ORCPT + 99 others); Mon, 26 Jul 2021 08:47:52 -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