Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1819961ybm; Sat, 30 May 2020 23:02:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6sqmU+ofPwAMXtw5v86zBNboBQ1UWfjOoJ+vdAADZXjsMjqWFmOYM2S7j+iWiK0g/rDSB X-Received: by 2002:a17:906:f9d7:: with SMTP id lj23mr15478233ejb.218.1590904958350; Sat, 30 May 2020 23:02:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590904958; cv=none; d=google.com; s=arc-20160816; b=XVXcJ+oz/+Jrf6EeJsirQZggpqnn5e1I4IgIJ8DTO0U+8nhp+uPtJ7XxMwmtv6dABE Ut/AX1HFTSEVkW7W+1LhdFhPrC79SNW7jHp25rUnxtSZlHgPuPhYCDK123lmpKUF4jDH fZIZ1yIBDXZZHE/RAUNNOP1WjZCzY1tL8zISXnoMVDNC/y2ddbgSoxL2SkHAb3Gg+LvM VzPsGTlOy9hlqMosDWAhvxgkuzrqV/3FkZZg5JLVyYM3/wnjHwjkhy6UmB55YmkNIjzo PMaJXi60gPI/ZbG39H+TN1nXRKPL9Phsm23th3sq2WCQXXF04mJdbjMYoXofYmblmDd9 H5lA== 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=P5HdXPIUVuqtEa85SUndrPJ85k1iTc2y+k+Dc82zgCE=; b=IWc5j8zMCPEM1AxKjhNp8D2b1n0UWxxTH/GDTpxQSEPwgbKJh7trrOda4FIcMTl7cZ eseN26PKD+OKnzaQK+e7E97YZ8pqG61q0o+mu46IJqf3XRBPpe3h7rsQ5g1aXsMQqa4r leURR526/UjCTiv7KKaf1WXv4mx1AYRSQA5OLlG7Aodj0e1AQ+jZ/slnNQ6Jv5f8W9Ld FSLg+RI7tRwIx7c0MFpCUcEiSQ7/8BeyADf4H45BxIixHtsgX6U1vFV6m/k0Vg0vFVsv zQ3fvPyV+tPtViQnzvJdF4ds7kL3gho2SuvJBtm9ISJYwUxzuIcI6+Leioz0DFO9mVMs HKpA== 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 g5si8796277edk.167.2020.05.30.23.02.15; Sat, 30 May 2020 23:02:38 -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 S1729611AbgEaF4z (ORCPT + 99 others); Sun, 31 May 2020 01:56:55 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:35397 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbgEaF4z (ORCPT ); Sun, 31 May 2020 01:56:55 -0400 Received: by mail-wr1-f65.google.com with SMTP id x14so8207993wrp.2 for ; Sat, 30 May 2020 22:56:52 -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=P5HdXPIUVuqtEa85SUndrPJ85k1iTc2y+k+Dc82zgCE=; b=T6x5VxDAsXeSFSObHsRYjgYYzaCPi84Jh68QLt6NcergrS7hHW6UsKo0slD71+RxDk M14yugHD3yGIYRTnqNmgezTOVPcGPqEnEQSoYSKrUn3VV3olsQ4dtuXA+AD8Ua0pMYdw iBAZuSTd20ZdukFV8eXQ1sJs8eEjRNuFnRD3ol4FMVaok8vEo+zW+zp4fa9lKxjV0PPO FvCu5fc/SUA6z22PmTm9vc42UfnfHXhVH7E7Yh+VfAhIU/pYW1/eKQrYBF+8LLic7+Dv UEtHagahk0DHSWyqa+VZF/cMfgVzyZKMxd+6cDh8vVo9Xa8dw4k3D+8FXQUluC2TCavw jxeA== X-Gm-Message-State: AOAM530lA5rwF6vQJZoqeZ1gdWigk4BnwydBvoU14AxbJ0/hpFIw9nyJ bBy9RI7eP5xBlFJS+tZmcuEopyZSjDD5RatfE7Y= X-Received: by 2002:adf:db46:: with SMTP id f6mr16261278wrj.80.1590904612302; Sat, 30 May 2020 22:56:52 -0700 (PDT) MIME-Version: 1.0 References: <20200510150628.16610-1-changbin.du@gmail.com> <20200510150628.16610-7-changbin.du@gmail.com> <20200520210106.GT32678@kernel.org> In-Reply-To: <20200520210106.GT32678@kernel.org> From: Namhyung Kim Date: Sun, 31 May 2020 14:56:41 +0900 Message-ID: Subject: Re: [PATCH 06/19] perf ftrace: add support for trace option sleep-time To: Arnaldo Carvalho de Melo Cc: Changbin Du , Jiri Olsa , 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 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. Thanks Namhyung