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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D92CC54EE9 for ; Thu, 8 Sep 2022 18:23:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231195AbiIHSXW (ORCPT ); Thu, 8 Sep 2022 14:23:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231847AbiIHSXR (ORCPT ); Thu, 8 Sep 2022 14:23:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1B56F2967; Thu, 8 Sep 2022 11:23:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6E96AB821E1; Thu, 8 Sep 2022 18:23:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0AE4C433D6; Thu, 8 Sep 2022 18:23:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662661391; bh=veGfQcuXT/TZaz1MGKphv5ehLEA9QrpIEJJIWFyMTPI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=s3kDBIOG4XjlB/QyzJBTb74S8Mt25ig2TjV9jtaQONJripVaVwskU5AJv4Q9iSxod 7vjwpkrp0EeYEoyJlNA9fT6717cjQ3PJTX/vyZDyyg5tjvt9FPHvgSvMwFgkLnh+nZ 0hUPOAKHNQvoK1FDgnh2HNwJiIqtcS5bebknkfNORmZXSSasUc7DZX2lfDZbmdAFJe TjH5RXkbk5iLCfkXEusDhZQLMH+kfjA7ZDbcBqE6BVit/nsf3t4eGR7ObfwUzAC9zS jbTwWf9GIyGNQud3n9sFyw9BW+9UEylaohHCBmEy53S2VNhSzrk7yQoWGgxFzdLYIs 8CP/q7fbIZvyg== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E1916404A1; Thu, 8 Sep 2022 15:23:07 -0300 (-03) Date: Thu, 8 Sep 2022 15:23:07 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Shang XiaoJing , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-perf-users , linux-kernel Subject: Re: [PATCH 0/4] perf: Clean up by adding helpers Message-ID: References: <20220908021141.27134-1-shangxiaojing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Em Thu, Sep 08, 2022 at 12:08:06AM -0700, Namhyung Kim escreveu: > Hello, > > On Wed, Sep 7, 2022 at 6:37 PM Shang XiaoJing wrote: > > > > Some clean up in builtin-lock.c, builtin-timechart.c, and > > builtin-trace.c. > > > > Shang XiaoJing (4): > > perf trace: Use zalloc to save initialization of syscall_stats > > perf lock: Add get_key_by_aggr_mode helper > > perf timechart: Add create_pidcomm helper > > perf timechart: Add p_state_end helper > > Acked-by: Namhyung Kim Thanks, applied. - Arnaldo > Thanks, > Namhyung > > > > > > tools/perf/builtin-lock.c | 129 ++++++++++++++------------------- > > tools/perf/builtin-timechart.c | 65 +++++++++-------- > > tools/perf/builtin-trace.c | 5 +- > > 3 files changed, 88 insertions(+), 111 deletions(-) > > > > -- > > 2.17.1 > > -- - Arnaldo