Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2075093ybt; Thu, 2 Jul 2020 23:33:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzP9lqvF7kFWF6MZv1xKORwLv2ACTrlNGFbedyRJMl4myh92IWoATnYi7QVbgjAxO/JGysm X-Received: by 2002:a05:6402:3138:: with SMTP id dd24mr39574994edb.118.1593758016597; Thu, 02 Jul 2020 23:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593758016; cv=none; d=google.com; s=arc-20160816; b=vtG+7iAKFh/KEoFI5+GL2cV1IKawNA2V6Eq14NQeLRAcdaO5VoL95NIHmyk9wnFin6 7Fz7DrMEWodGXdcsm8cL/579fPIcXq+gvc6A+ZWXY3pOJ976ZE/DEx2gwsdQPvibA/cv vJFpv5YjinUbrT7KlECZX/r6kILKJAXn8TilUQatEqSmtKZrC7RcpKC5SkAjB8Zzbp2L jj6MI88/tQK7VRob4nZoX09RU2/Xt/cFil1bDDRqfI/021VJVT/hnhQNf09S9UUcrHjw 6lLmEEfTYZkX94eBKIN30HI2gyHXtLXXjvgbbFb6A6rKiVGDoUawi/h4bgA3j54/kVss NL6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=tjZBJs8X0nguidZg5CpdB0HmryO+5Vc7KMWihjNjkqQ=; b=tGmeSinl0ORnsLFVc9MsZEpqwHRgQ66HiG2S9WL9h9GDFBpTamz8VhvQHzTvKVIlqR +T36bG1Cxy33EHWpcaDEGRwR868LDItLIZ56VHm0noOdLT3MJTbShOtZ3mC8Zk+rkds+ NbrlcloCpx7vR6EO8BvSvoRPdx9yUjSFa++G9Rw6McvqyLvnKwrL1rgBmgzJ6mlvZ2r6 tqLgc3ykX/tlqujvK25nsoiXG+cfeL+ITu9QEICqJLYw5dN8Jf6FRWyDjgIoIm94ImI/ i7BDWSFXAVzClRTvKuT0YaNUSnpumS6Xt8KNxAkrzHZlEw15t4x9jJZ+4QAA3xpVQtVi PiNA== 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; 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 g22si7455320edm.294.2020.07.02.23.33.13; Thu, 02 Jul 2020 23:33:36 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726324AbgGCGap (ORCPT + 99 others); Fri, 3 Jul 2020 02:30:45 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:40363 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725764AbgGCGap (ORCPT ); Fri, 3 Jul 2020 02:30:45 -0400 Received: by mail-wm1-f66.google.com with SMTP id f139so32603107wmf.5 for ; Thu, 02 Jul 2020 23:30:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tjZBJs8X0nguidZg5CpdB0HmryO+5Vc7KMWihjNjkqQ=; b=Q55dyzjg0W4iZiIJvX9xwa2G0RQq3ggQfZ0dVEfc8A5pQg9Dv1r7A/1WPFM8EoRG1u KYqyZxJuXiba2dArl2sdmYGOTVUblYl+IdARl9AGuZ81UB3gkIqlFIBg42AQWjVRB6xd NkxFeOUGTOP5mL0+2hcsM/ARWwF8AkH2xxP4Li2NhThdLJogqieRIL91GuwCoJFzIULx 1mHEit3tu1WHcqCNIZ18n8vWTu0TC53c6VRIhJEfk+nKhz/H+k4nq+s8G2l2R+ybNAzm B8SZszZTeHUUZCBMo8BPEqbiukoY99n8/08wbO5x78FJUHr0nmlSldnTy4vj+dQFax+/ +78w== X-Gm-Message-State: AOAM530Txc20phqfwW/lR8KCLL+aa5jSpyZHlSCbXo+A8BT9Wb/SkMDe +DTugQDHkAFCPek/QMWVvOCdCpi+RD3nGa3c1PM= X-Received: by 2002:a05:600c:2241:: with SMTP id a1mr34156620wmm.168.1593757843977; Thu, 02 Jul 2020 23:30:43 -0700 (PDT) MIME-Version: 1.0 References: <20200627133654.64863-1-changbin.du@gmail.com> <20200627133654.64863-10-changbin.du@gmail.com> In-Reply-To: <20200627133654.64863-10-changbin.du@gmail.com> From: Namhyung Kim Date: Fri, 3 Jul 2020 15:30:32 +0900 Message-ID: Subject: Re: [PATCH v2 09/15] perf ftrace: add support for tracing option 'func_stack_trace' To: Changbin Du Cc: Jiri Olsa , Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Steven Rostedt , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.. ? 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