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 719C4C43334 for ; Fri, 3 Jun 2022 19:28:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237562AbiFCT2v (ORCPT ); Fri, 3 Jun 2022 15:28:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244845AbiFCT2v (ORCPT ); Fri, 3 Jun 2022 15:28:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D8D956FB5; Fri, 3 Jun 2022 12:28:50 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 19BCE61A5F; Fri, 3 Jun 2022 19:28:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 493CEC385A9; Fri, 3 Jun 2022 19:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654284529; bh=4gv4IEpTaFP2QCjC2iXwNPdffpE5b9Mjy7L03jXTa4Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JlRBbwHu5MQMJ4fZjaalTOo3AZ4iWdRZvhYLnDTfzpntZEsWvq5TsbuB5/OSmmaE0 w/DfN4uxvg8IBwXnJ9uUD5XZ81+pkIWEYplhFNNqGb98RYQddXrIOdFRhxZA0n1RY9 4Aoep7UAAk//OT9dvsl22hzmfrgxJdkrhkVLI9lsepq5dId54uX33XfNn2YFBHAw9/ 1O2T03DpmyIXuwODm8ZYQFv/zgKO51GE1hj/Y8hMFtLXd//JJDQiR1PXrpnyW/fWjz 2Kj7MvYacP5cGLTBzOIx0JJ/2hWswJhuupMC1ZNbpyc3ynrugEeJzDr/j7pV0gs7ky OCOIpqjMy/6IA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 7BC324096F; Fri, 3 Jun 2022 21:28:47 +0200 (CEST) Date: Fri, 3 Jun 2022 21:28:47 +0200 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Jiri Olsa , Ingo Molnar , Peter Zijlstra , LKML , Ian Rogers , linux-perf-users@vger.kernel.org, Will Deacon , Waiman Long , Boqun Feng , Davidlohr Bueso Subject: Re: [PATCH 1/5] perf lock: Change to synthesize task events Message-ID: References: <20220601065846.456965-1-namhyung@kernel.org> <20220601065846.456965-2-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220601065846.456965-2-namhyung@kernel.org> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Em Tue, May 31, 2022 at 11:58:42PM -0700, Namhyung Kim escreveu: > With -t/--threads option, it needs to display task names so synthesize > task related events at the beginning. Cherry picked this one. > Fixes: 7c3bcbdf449f ("perf lock: Add -t/--thread option for report") > Acked-by: Ian Rogers > Signed-off-by: Namhyung Kim > --- > tools/perf/builtin-lock.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c > index b1200b7340a6..23a33ac15e68 100644 > --- a/tools/perf/builtin-lock.c > +++ b/tools/perf/builtin-lock.c > @@ -1083,7 +1083,7 @@ static int __cmd_report(bool display_info) > static int __cmd_record(int argc, const char **argv) > { > const char *record_args[] = { > - "record", "-R", "-m", "1024", "-c", "1", "--synth", "no", > + "record", "-R", "-m", "1024", "-c", "1", "--synth", "task", > }; > unsigned int rec_argc, i, j, ret; > const char **rec_argv; > > base-commit: 9dde6cadb92b5670b23b97ec53091df0530ec38b > -- > 2.36.1.255.ge46751e96f-goog -- - Arnaldo