Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2514854pxk; Mon, 14 Sep 2020 15:58:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwt1pgq4cyVMSslWVITvtJF2oradMPtFGlCE8FYOZ6GWZxdoG7CHyu/z5qm4NinOaCmQfWf X-Received: by 2002:aa7:c387:: with SMTP id k7mr19112886edq.242.1600124318597; Mon, 14 Sep 2020 15:58:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600124318; cv=none; d=google.com; s=arc-20160816; b=TkkUUB0WjR5lLfNEyHY8wLkE+PPWWZJXPRXyRdJEKXbn/VpEGvT+sL+rHLuJ2QAffb nxckKl9QI2tGsbjzqgx5wTR68Fl41kUFm5vI2Uok11hDh1YSnQbYHz2DAZQMdkRAN5Zb mIgXDGMNUxJVPDmLrlQcpOMhD+UHgaYQx/33zoYfpuVDSSqNMiSK0etVOT9xfeA3UZY5 e34Lsc5xqjg5TPgg7QBlDDvVwlBKN+DF92AFAr7HJpwVFHdl7KaEPWMQWbEU+J7EXB6m Y2inehJKfYMxM5ug486oGQElsuQOLxhjncrcOWO72ll6hAcGPZ6DVtcPPBB0vj8DqGzP YZGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=xbMO0f8jhiNJcWoHoLBY+ESQoc0i5kJZFI69hzyJj4E=; b=Mj0r8NMECIH6ybj9ZGkQRSriSd+Aa6Yq4bGDp1WsQfERZCcasckSHQIG4AvC6AuF54 QF/wOZr6Vi0QEpGrQnMgGmcC7nFXXwDPc4z2eGlVHAaQVAmC22G9rxFhdcR++gq6FXoW BVaYHaGbxhP1533vik1zDXCD9jGN8vEb1NEPpw7jAETFBFfmBMi4DhAEorpOrshNINUa Sk486W/oxJ/LazbMF9Rmb8ZwmCKRKJGRpSb9KF7OUVNCXYmk/G34GSSNM1OlOIhKrUJ2 5oVNrdiSbUZWejNNMGuVj9lGsq/YPVva5NW/i/rmNg2hnRcwRu/MdzZf/4PR1MZZcEg8 4UBA== 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 j2si8304850edt.312.2020.09.14.15.58.16; Mon, 14 Sep 2020 15:58:38 -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 S1725994AbgINWzc (ORCPT + 99 others); Mon, 14 Sep 2020 18:55:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:43552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725926AbgINWza (ORCPT ); Mon, 14 Sep 2020 18:55:30 -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 EF40020732; Mon, 14 Sep 2020 22:55:29 +0000 (UTC) Date: Mon, 14 Sep 2020 18:55:28 -0400 From: Steven Rostedt To: Wei Yang Cc: mingo@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [Patch v2 0/4] tracing: trivial cleanup Message-ID: <20200914185528.77d36e9d@gandalf.local.home> In-Reply-To: <20200828034257.GA8994@L-31X9LVDL-1304.local> References: <20200712011036.70948-1-richard.weiyang@linux.alibaba.com> <20200828034257.GA8994@L-31X9LVDL-1304.local> 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Aug 2020 11:42:57 +0800 Wei Yang wrote: > Steven, > > Would you like to pick this up? > Hmm, patch 1 and 2 have been accepted (different subjects though): 746cf3459f11859 ("tracing: Simplify defining of the next event id") 36b8aacf2a483ba ("tracing: Save one trace_event->type by using __TRACE_LAST_TYPE") I'm not sure why I didn't pick up patches 3 and 4. I'm looking into that now. -- Steve > On Sun, Jul 12, 2020 at 09:10:32AM +0800, Wei Yang wrote: > >Some trivial cleanup for tracing. > > > >v2: > > * drop patch 1 > > * merge patch 4 & 5 > > * introduce a new patch change the return value of tracing_init_dentry() > > > >Wei Yang (4): > > tracing: simplify the logic by defining next to be "lasst + 1" > > tracing: save one trace_event->type by using __TRACE_LAST_TYPE > > tracing: toplevel d_entry already initialized > > tracing: make tracing_init_dentry() returns an integer instead of a > > d_entry pointer > > > > kernel/trace/trace.c | 36 ++++++++++++++-------------- > > kernel/trace/trace.h | 2 +- > > kernel/trace/trace_dynevent.c | 8 +++---- > > kernel/trace/trace_events.c | 9 ++----- > > kernel/trace/trace_events_synth.c | 9 +++---- > > kernel/trace/trace_functions_graph.c | 8 +++---- > > kernel/trace/trace_hwlat.c | 8 +++---- > > kernel/trace/trace_kprobe.c | 10 ++++---- > > kernel/trace/trace_output.c | 14 +++++------ > > kernel/trace/trace_printk.c | 8 +++---- > > kernel/trace/trace_stack.c | 12 +++++----- > > kernel/trace/trace_stat.c | 8 +++---- > > kernel/trace/trace_uprobe.c | 9 ++++--- > > 13 files changed, 66 insertions(+), 75 deletions(-) > > > >-- > >2.20.1 (Apple Git-117) >