Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4497416pxu; Mon, 12 Oct 2020 22:51:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAuf5oHggGpJt2Rh1Fsn0sXASJCn0PH6XZPq5MuwoqacbqVBP+Zvyil+TX7D7mPQT22Yu8 X-Received: by 2002:a17:906:c094:: with SMTP id f20mr14979158ejz.550.1602568259980; Mon, 12 Oct 2020 22:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602568259; cv=none; d=google.com; s=arc-20160816; b=QvbAYwgKETTqKSKGh7isp4aD//O6URG4gDUcrdzRvwuPHmKzOCQQOJKIduSPO0iWMd sQxd7Ue9t1J1NvtOKwLKRY9ayMkUyptDr5sAA0B3stJa+nEZ3hPEca0J+w53ZnvVC08M 32TOdncWn52WD8121mLL9A8Dlozs3PVsWuPtCqvsGtISwefYgGGYOcmuBska/yFowfC/ rFFFYf1INH2kYjlfKiM9Lelu0B/su4v6DJeQm3AZ4LsnKwvs2sJpe4Vod5y26FuNTdb0 pyhE3T50YQO87YvyIDt8Ld0yyVsoFVe92E+AhqvVXrTwBq/ipXmAgfv4yht1LtBcPT6a JySg== 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=UU0HhcDN8ladTRdLnWXmr8zdHFze+Lu1I1Yy1JAgvN4=; b=F0GhcHoNivje5Ub8GF4GxC2b46CQfv5092PZXI3ZieLQK/nEwfauxVdpVRoFAphZ3y Q2FNaPWuJ9JLHy0teKLtYekyMXAS3Rv9AaP66/FsoCb+0WNQEG/NhQ+xQ/p8I1kQ/f6t 3rjoQNHL5q99MbNpnx5cYFxhyXVmuNkrq/ygNQe/YMexnXf/3lSo4KcxnlnFPgfkHl+q c2+QLPSODri7H5WCNRILYQ+yVDzks8OY5B29fsRo50L31bhlgEgPl4oZpNJXePTNhlWT m05XbyciqMiiipo/dQqhqbG0YBTwcvG0YpYYuoH3xbnwTbgcsc9zEHBWd6ImwRroXwLY EgLw== 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 se13si12376791ejb.702.2020.10.12.22.50.36; Mon, 12 Oct 2020 22:50:59 -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 S2389611AbgJLPN0 (ORCPT + 99 others); Mon, 12 Oct 2020 11:13:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:33626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389225AbgJLPN0 (ORCPT ); Mon, 12 Oct 2020 11:13:26 -0400 Received: from gandalf.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 AB66620878; Mon, 12 Oct 2020 15:13:25 +0000 (UTC) Date: Mon, 12 Oct 2020 11:13:24 -0400 From: Steven Rostedt To: Tom Zanussi Cc: axelrasmussen@google.com, mhiramat@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] tracing: Synthetic event dynamic string fixes Message-ID: <20201012111324.0ea933e0@gandalf.local.home> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; 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 Fri, 9 Oct 2020 10:17:06 -0500 Tom Zanussi wrote: > These patches provide fixes for the problems observed by Masami in the > new synthetic event dynamic string patchset. > > The first patch (tracing: Don't show dynamic string internals in > synthetic event description) removes the __data_loc from the event > description but leaves it in the format. > > The patch (tracing: Add synthetic event error logging) addresses the > lack of error messages when parse errors occur. > > The remaining three patches address the other problems Masami noted > which result from allowing illegal characters in synthetic event and > field names when defining an event. The is_good_name() function is > used to check that's not possible for the probe events, but should > also be used for the synthetic events as well. > > (tracing: Move is_good_name() from trace_probe.h to trace.h) makes > that function available to other trace subsystems by putting it in > trace.h. (tracing: Check that the synthetic event and field names are > legal) applies it to the synthetic events, and (selftests/ftrace: > Change synthetic event name for inter-event-combined test) changes a > testcase that now fails because it uses an illegal name. > Hi Tom, Would you be able to address Masami's concerns on patches 1 and 4? -- Steve