Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1128494ybt; Tue, 7 Jul 2020 08:23:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmsB9RojjfGaGG2f++HyAhCGKK6efEOoLxrDG+QSngSKlJ29gf+qWhXY2DQUNSVufQMr/O X-Received: by 2002:a50:cdc6:: with SMTP id h6mr61135587edj.111.1594135415818; Tue, 07 Jul 2020 08:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594135415; cv=none; d=google.com; s=arc-20160816; b=phgEqnfs1NLyXot6G3RdSPK1in+bjSq7kwLDi+NMTtMoB1tDb3UsF8pFPXPnaP/ONZ 5/8T7Fn8KmqMyIcp5NvjLrohyFj25Dl431M68soBbO/gBywOaV00lchjydHYXc7f7hnx SQTvY9F1a3GXCcopqMiyV92veH0otXQPW1NMqHJakabaCxOleDfywsAOooGsHlSPA13D X0+lByscClL5DKZTBpu7atH/cG0z0uDcuVwuppqdD5TymRMsWv2aFHRDVq0waasJzGEA GMdiaecCPeFjKsU65qG2QTSqDIe5CtZEP8Sm7P+SyUq+oUOkWCdp/wmPBrY5d7/kZK3s uyFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=er6hsFquLTNA8VKEn24uMWaKfe7q89cZ0TTNSo/x5mA=; b=V+7kEf9pt9oSmf6WOKRohGp3g5xWpDWmUeNjVn5Gz4uLH2oyMbaaKOgnjM32r1JxUA urOOvEiMKHWhTfdReuNTbQG13pCCfiNLQjOwftyKM3jeGQebzJYn8Zim9sMee4iZcUky edCG76VNFcDpmHpLrWkSpaxbA7fDr1WWQQqLN1c6tEmWrWzaKGzaVOQWZwOZvDBC0cwl LZXKLb5h1c74GbJZnp5kx+MDQWLIirBXHXXu9PzwPL3nHNY8cUXKId2H/unTtKarHldt CPvP/uX61n5tNbQcmqSgjPEs5bKsmVnEthFJjeQoniYKo5kbQ7BAC9ZoSsyYzLAQKyA/ fvpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l6BqCzfk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g26si15327998edv.376.2020.07.07.08.23.12; Tue, 07 Jul 2020 08:23:35 -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=@gmail.com header.s=20161025 header.b=l6BqCzfk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728829AbgGGPTt (ORCPT + 99 others); Tue, 7 Jul 2020 11:19:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728442AbgGGPTo (ORCPT ); Tue, 7 Jul 2020 11:19:44 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C72ABC061755 for ; Tue, 7 Jul 2020 08:19:44 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id d10so4840510pll.3 for ; Tue, 07 Jul 2020 08:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=er6hsFquLTNA8VKEn24uMWaKfe7q89cZ0TTNSo/x5mA=; b=l6BqCzfkcZOUtekgBlMOFzEoQdcPcAs3uILNTs2Rc6zKFxOoXGcFngHlzIUen+l2w4 edX+VgvnoybDAbGyjcunBSFrklD07tDq6aGeqP36T1S52x9ayjBAvcRyx1a7/R638gd0 ORLlomrwFY14zy1yc/CdmTaAfT/e6qYBgxkh6k+LBJXzmmW2cJ0p3UoNPj92WsaEECrb io+RbC0J9ko7yYmpjSmgkJ2BVCQZQFX2fzn5GwfzsZ2sBrl4Mjjvs7QJHaY2m9OKZuEJ XZmBuGe90ONz69yyNEZMsSp5BTPtaXPo+hgi9b4QFn+2sDc20U3KcBoPpTXWeiombnq7 Lkrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=er6hsFquLTNA8VKEn24uMWaKfe7q89cZ0TTNSo/x5mA=; b=pF0+x7oy7sCwvGZs3hC/Y+PKB3IyezAn+c+dCP9B0mkK1+MZSnTXdZF0UWt3n146/+ Yo49oVxHyh3APQqJBXbF7vl/hKALMqp5ewu2UyPQzC4CeooWaeaXALcpAMtPVLEmmRrK b69cjNVV+cZmQgTqgOmYWHUyKDzbcy4W6PAZjpwJ+dXQ+4ey/sNu25FPB9xhO7iWBXKP JQc1882NFnhLnSH8UmfX2uvNhVGRs8mxpj32D/VeJAeAYlAqPgIjR44cHPVJruNJRGqB 9BjL50mkqGVI0Gc7YSI4zeWaYXzkH1zoKBe6I/9Jzb4Gz/asPx+gYMmnjGRirabbUe5J bIhw== X-Gm-Message-State: AOAM531c1ccRN3SZfCDwwSChQzWwg9R0z292ptTcRIJcP+EIWIwCK9dr zHLu+rZY2ajrxVYKBpWm5qE= X-Received: by 2002:a17:90a:222d:: with SMTP id c42mr5140691pje.126.1594135184400; Tue, 07 Jul 2020 08:19:44 -0700 (PDT) Received: from mail.google.com ([149.248.10.52]) by smtp.gmail.com with ESMTPSA id q24sm1295225pgg.3.2020.07.07.08.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 08:19:43 -0700 (PDT) Date: Tue, 7 Jul 2020 23:19:31 +0800 From: Changbin Du To: Namhyung Kim Cc: Changbin Du , Jiri Olsa , Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Steven Rostedt , linux-kernel Subject: Re: [PATCH v2 09/15] perf ftrace: add support for tracing option 'func_stack_trace' Message-ID: <20200707151931.ehgnhgl67cd73fjd@mail.google.com> References: <20200627133654.64863-1-changbin.du@gmail.com> <20200627133654.64863-10-changbin.du@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 03, 2020 at 03:30:32PM +0900, Namhyung Kim wrote: > On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > > > This adds support to display call trace for function tracer. To do this, > > just specify a '--func-call-graph' option. > > What if it's used with -G option? Also it might be used only with > the -T option.. How about showing a warning if it's missing.. ? > All '--func-xxx' options are function tracer only. The warning message is a good idea. > Thanks > Namhyung > > > > > $ sudo perf ftrace -T vfs_read --func-call-graph > > iio-sensor-prox-855 [003] 6168.369657: vfs_read <-ksys_read > > iio-sensor-prox-855 [003] 6168.369677: > > => vfs_read > > => ksys_read > > => __x64_sys_read > > => do_syscall_64 > > => entry_SYSCALL_64_after_hwframe > > ... > > > > Signed-off-by: Changbin Du -- Cheers, Changbin Du