Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2982780ybg; Sat, 6 Jun 2020 07:21:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFT771Gyeu7bAWelX8OjXHSJJfIM8ymGJPBajYyOPu8HoFecPGLiV8K9JhQIRyu0LT6Geh X-Received: by 2002:a17:906:32d4:: with SMTP id k20mr12768607ejk.364.1591453313815; Sat, 06 Jun 2020 07:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591453313; cv=none; d=google.com; s=arc-20160816; b=yb/d6suqR51MdlKl4x4s4c8lt4PG7PDteMvMq3S7NQHt0xBomkLulxu54jDzfli7XH okPAdJOqOSmjDfA7fuBYxkYgyjRFjAK9+5F7b3wSLpROGso092cW40o9Chs/cmqOl+Iz 5XCCPxw6lBmTg970f3s/JeQYh/xrna0ukWAKuR2CxWEkoJwmyuSIWIWqekT1HzrZLUjD OCNSQydJGnDh27dSruMshMgV9jdtO13QMSgtV7dd+smpJKrL0rcUdEUdIDnN9PQ9CVdX LaVk91lhP+znPMcZPO1h3kGsGZPCtTFT6jKiTXOBPJ61+HCF3UJI4HgYMDf9BMoq30KA /UBg== 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=sFPewfONU6fSUKPDZW/BB0Mur5NOnPk+a+/ksltSLUo=; b=whe+aGbQhCFphn5Bu5Ordh1LIE5miZg1t7by1XrTRgOaWqEXaWu5ABC4jxdreRJzFg 4q/Yv+QDSIJm0WoV3l6gFa3LKviH5HtqiHWkmqVWhXTYvdDBeyIxE2Itvx3iUvU+QntX p3cTe4LGThtI1X+gRhOXZ40CMuAmSt2RMr3QJV9JAYD8BseycWBfN7uP32LdPeDme4Jy 45GQngzVmXVO6+GmheLFGUEX6LZYlObTILg4tTxgX6LmdnFpOE+9Z6U3hJWGvU+KM5cv hHZLkmf52tF05FI4CQ5XcRK0rHKJpeUrLmOyhKh7n1nc1Bwb0r1kTOctOGiG+/NAbJB1 9RQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IugrzgrZ; 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 rp9si5358985ejb.718.2020.06.06.07.21.30; Sat, 06 Jun 2020 07:21:53 -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=IugrzgrZ; 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 S1728584AbgFFOTe (ORCPT + 99 others); Sat, 6 Jun 2020 10:19:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbgFFOTd (ORCPT ); Sat, 6 Jun 2020 10:19:33 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D651C03E96A for ; Sat, 6 Jun 2020 07:19:33 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id n9so4870719plk.1 for ; Sat, 06 Jun 2020 07:19:33 -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=sFPewfONU6fSUKPDZW/BB0Mur5NOnPk+a+/ksltSLUo=; b=IugrzgrZ6sYmmqGT9OK1GEs8uO7idsYeev7uywdH2eMbCrpD16Y7mWmwWtfWOUqkHU Nfl5ZgZTZSpwy0Fb3uI5TN4P7QWIdq8YaG5lC6SOqXL/I1vzF7cHILj4L5DIQIj/tZHM rFHdjRQAmxJaRe0+KVx4AKCqjBwPmwASr0Lx42ejlrp80eYDqN3UrHYAOA6Cei6Tu18u f/ksegDRPNWfKbd7UYLI1skVgFfhKtBnnewsd8898OTU/n72WhhoXZPmGXXTDqn54b3S 7LU8BuGHo58OFjIHDrojefY7WfaEJCZrvUdQEysCR4chNSjUZJSrUwba7SAbwqXwrYvz u6pw== 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=sFPewfONU6fSUKPDZW/BB0Mur5NOnPk+a+/ksltSLUo=; b=UFWxLzZm6tbjv2JXKjqO6kHeeHhDpAVNervFMR+Rbvc0R4IJag7Kf0AW2VX+ImSpoA tprfTrASgXQXpwsXbm0wmquz3NKfqroHWAJgqSMiR7eFPWgTX3stH9o0YeSxGuhkOPXK 5+cesSycszxfgj6bUT7Oz28YZU7deRNI2Vei0HvYcLZnO/hoNWuNAImnD5P/eamxOfzC 0RNih5tv/bIu5FoTmK4N+cBZo+rTibhItxAjkEOF6Bdc2XroJ0frIbY1CUYNQDL5wrNI z38q7ojoQ/t3g6dk/1QSwVSa+4SwQw06yl1ty9vMLOhjGCS/mYwZgJAlSpXZXVumBgB6 FWiA== X-Gm-Message-State: AOAM531sBNRdYHU2XGvp/sNwrAvpdRrTq2S86PfsuAvmgR2deRSdoVat BodZ9XuYOCyY8IRRv16WkpA= X-Received: by 2002:a17:902:c402:: with SMTP id k2mr13822994plk.184.1591453173099; Sat, 06 Jun 2020 07:19:33 -0700 (PDT) Received: from mail.google.com ([149.248.10.52]) by smtp.gmail.com with ESMTPSA id j13sm7475913pje.25.2020.06.06.07.19.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jun 2020 07:19:32 -0700 (PDT) Date: Sat, 6 Jun 2020 22:19:23 +0800 From: Changbin Du To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Changbin Du , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Steven Rostedt , linux-kernel Subject: Re: [PATCH 06/19] perf ftrace: add support for trace option sleep-time Message-ID: <20200606141923.6k4xcwvalhmrki7c@mail.google.com> References: <20200510150628.16610-1-changbin.du@gmail.com> <20200510150628.16610-7-changbin.du@gmail.com> <20200520210106.GT32678@kernel.org> 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 Sun, May 31, 2020 at 02:56:41PM +0900, Namhyung Kim wrote: > On Thu, May 21, 2020 at 6:01 AM Arnaldo Carvalho de Melo > wrote: > > > > Em Sun, May 10, 2020 at 11:06:15PM +0800, Changbin Du escreveu: > > > This adds an option '--nosleep-time' which allow us only to measure > > > on-CPU time. This option is function_graph tracer only. > > > > This seems, for now, very specific to the function_graph tracer, so > > perhaps we should have a: > > > > --function_graph_opts nosleep-time,other,another,etc > > > > ? > > Agreed. Also I don't want to add an option in a negative form > as it's confusing. Actually, our option parser can recognize > --no-xxx form automatically so adding a positive option (--xxx) > can handle that too. > Agree. And for the name, maybe we can align to original trace options. root@WRT-WX9:/sys/kernel/debug/tracing# cat trace_options print-parent nosym-offset nosym-addr noverbose noraw nohex nobin noblock trace_printk annotate nouserstacktrace nosym-userobj noprintk-msg-only context-info nolatency-format record-cmd norecord-tgid overwrite nodisable_on_free irq-info markers noevent-fork function-trace nofunction-fork nodisplay-graph nostacktrace notest_nop_accept notest_nop_refuse > Thanks > Namhyung -- Cheers, Changbin Du