Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4519454pxu; Mon, 12 Oct 2020 23:37:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeec9phy7NCZh+suFX4Bvfut+xhw74RSZJ2seSL99mryq3a9pluJrAR3WDROx6Y+guldVn X-Received: by 2002:a50:ef0e:: with SMTP id m14mr18355384eds.5.1602571071250; Mon, 12 Oct 2020 23:37:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602571071; cv=none; d=google.com; s=arc-20160816; b=hu3j85e+vGj34/w2gWCGc/QBi1vBTteKEyWA5Z5Htu4+7Q+lJ3KgvsZhwY8Nf7STcP bMFdssj4khnCB05k7L4Ith1YXzNM5a+S8lo2fE4t+zzZSyoWzXM1784iIzjHBT2Yz8y6 s/Pwy2qdaPBQtX6HXK+W8liyUk89FKxd4cf66dIklVoAY4KZlkdPf2/Ch1+L+X//sDOM Am12aE2iI5yGmcMkIzFJAFXNxyISlir18JdROi+C5770FXLUUOFZ5HuItNR7CeXG7MPg 2Bj8zZ0rJCZz+eWTucxREVhDdsNscc3Lya4Gcg6Uswfji0wbAD5NQ9IfO2/3xJkXYVnM KTRg== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=OP3KqxE+l3/MUkSFoPEzRiB8rV5ZM/IMfI1Ciz2Foh0=; b=Xuy9JBk/p2FF2m+gjmz1/FoNaltRNv19L9XvR7oPPK9kLD3qlOq2iwOCre6tBFN339 CacaZf90vrS2wd37I3tIxXc51e391+1j/d6KYwwM0HitS3KmLNF7jCeAMUwb5tQHyyy9 ISveY3lkvaUXF6+05oLEU9QadrGPpb1jXC0eHetYnDCsXmuA9dVJDizKmSmtmgX522gH IE3LoyZSFceb6H1Sb1TaahmURoSP8UVlZZfNsl3P40df44nUx0AzYLBci0uPoNpOZTIs F6k6oqwWx/lWATW93gL02RK2xTCi8+Hd5okPqoR12Fcl0Oct9y3ZhdS0beEV+cd9tYCH 2JkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TbgNgzJx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w26si13056302ejb.417.2020.10.12.23.37.28; Mon, 12 Oct 2020 23:37:51 -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; dkim=pass header.i=@kernel.org header.s=default header.b=TbgNgzJx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390076AbgJLPi1 (ORCPT + 99 others); Mon, 12 Oct 2020 11:38:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:43140 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388881AbgJLPi1 (ORCPT ); Mon, 12 Oct 2020 11:38:27 -0400 Received: from tzanussi-mobl (c-73-209-127-30.hsd1.il.comcast.net [73.209.127.30]) (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 728BB20575; Mon, 12 Oct 2020 15:38:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602517106; bh=5ilsmtgrr7sa13By8mYzL3sh1WhWQr5N6nl5iXe8aao=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=TbgNgzJxo+0FX0UeaezbxCOm1ZqmUmL61RODQXvkh321n/JfvBt8uO5k6J69K6tVD M1JEcgN5KkfhUl1kAfJ16FTb++Q/5KHVtBxK1YvcGGKTLP2b4YVabH4Kc8u3x7SB2G ZxrlBktINi+RnZSYMSNMjFFCj4XCyldsummIjK7Y= Message-ID: <68753123860c684af182bba48e12d7091be44d35.camel@kernel.org> Subject: Re: [PATCH 0/5] tracing: Synthetic event dynamic string fixes From: Tom Zanussi To: Steven Rostedt Cc: axelrasmussen@google.com, mhiramat@kernel.org, linux-kernel@vger.kernel.org Date: Mon, 12 Oct 2020 10:38:25 -0500 In-Reply-To: <20201012111324.0ea933e0@gandalf.local.home> References: <20201012111324.0ea933e0@gandalf.local.home> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Steve, On Mon, 2020-10-12 at 11:13 -0400, Steven Rostedt wrote: > 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? Yes, I'll submit a v2 fixing those soon (today). Thanks, Tom > > -- Steve