Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp854673ybk; Wed, 20 May 2020 13:48:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3JncqpZlhRlaqdEnnd122xR9PdsiuOKKve3p59tKPyw03KKI3MH/JTZdWIWShKMBdFsVA X-Received: by 2002:a17:906:2b4f:: with SMTP id b15mr817254ejg.64.1590007738628; Wed, 20 May 2020 13:48:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590007738; cv=none; d=google.com; s=arc-20160816; b=0hn83zM0I1nqM7hVv+tYnno4hlbo/Fstsp5k8svF4+6uIGBO/CUZkgGONLiQULR4TG /WoGduYjyUG0JWfX1RGh87Kj7RbyUXIslJIMlv8p0ORgmlv417ADVUZVhXYSReqqosdJ a5N8WocoLh8KSaIsT+kxEcCwBqmYUcABr/tnhFb8ee7BA6NUNrhs+5gLF/chplaOTKPp yqLIMZD5j145ECGngfOsB1qqt7VHPrvFV6uAv77gZGxdLzv3DfiOQuu2bXnvS01vZvA5 gRSD45e6gYeLEIZXgdMXlbYl0P3/nru+JA/8zMkKU3WlwZIkbqcCTk6N3C64IP2kazr+ Q/OQ== 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=+Or4uMv4FvuraJ3mRdeBAcyN2AakPUwO73u8ckkNGSk=; b=aR04Nm3uwWlB/qGsvm3ow6oy4e3LcfvZ1U2O0XB+n9h2bOCM6PJ/6Uay0KVjJ04J8T mbfL4Qm8rI1UcIpkoiBJZ78Hqrt2a/1cWnryQEQvMfoAULocO0huCq90vRE6QH+i+l3O oT9LS7sNWx/0caZeSfM3Os3hhsg2525pZT2Ky03nRDmUxOBsdJ+I7ygL32Yf/3JMGYnL gHcQcaRQfN6pnRQTH1+Zt9RvposU/Ig53BPWAGZjdyntKW7ozaIBFxzpyFKilLg7eZjX PrUMAJAjViD9D+HnpgigQg8d0VfqhuHaJrlFVgF15SoDHFH+X1AUC6+vaPxvh3lGA8eD 9V1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XSsCDLEy; 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 t12si2047461edc.551.2020.05.20.13.48.35; Wed, 20 May 2020 13:48:58 -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=@kernel.org header.s=default header.b=XSsCDLEy; 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 S1727974AbgETUrI (ORCPT + 99 others); Wed, 20 May 2020 16:47:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:43430 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727018AbgETUrH (ORCPT ); Wed, 20 May 2020 16:47:07 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 347C720823; Wed, 20 May 2020 20:47:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590007627; bh=9w0KILB7yrKu9yQFRYVVB7S4YciohzZHET6YkhesxmI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XSsCDLEy6apnsDX5MeBXi4Fk4509mpWMjOR8FzuS5GpWKtC9a1Ktet8OcT5KkctlW SyY0wdh7zKcGLrk3nSZJuUvxHN3aCmJYGkg0OkBlGY1rDXNNjXrwzE6q6Q+rZJuPDM BU3B02EeHwsi6Pb4aYNOe5xjxfUAtEO9XACaB38Q= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id A366840AFD; Wed, 20 May 2020 17:47:04 -0300 (-03) Date: Wed, 20 May 2020 17:47:04 -0300 From: Arnaldo Carvalho de Melo To: Changbin Du Cc: Jiri Olsa , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Steven Rostedt , linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/19] perf ftrace: trace system wide if no target is given Message-ID: <20200520204704.GO32678@kernel.org> References: <20200510150628.16610-1-changbin.du@gmail.com> <20200510150628.16610-2-changbin.du@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200510150628.16610-2-changbin.du@gmail.com> X-Url: http://acmel.wordpress.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Sun, May 10, 2020 at 11:06:10PM +0800, Changbin Du escreveu: > This align ftrace to other perf sub-commands that if no target specified > then we trace all functions. Thanks, applied, - Arnaldo > Signed-off-by: Changbin Du > --- > tools/perf/builtin-ftrace.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/builtin-ftrace.c b/tools/perf/builtin-ftrace.c > index d5adc417a4ca..11fc02037899 100644 > --- a/tools/perf/builtin-ftrace.c > +++ b/tools/perf/builtin-ftrace.c > @@ -493,7 +493,7 @@ int cmd_ftrace(int argc, const char **argv) > argc = parse_options(argc, argv, ftrace_options, ftrace_usage, > PARSE_OPT_STOP_AT_NON_OPTION); > if (!argc && target__none(&ftrace.target)) > - usage_with_options(ftrace_usage, ftrace_options); > + ftrace.target.system_wide = true; > > ret = target__validate(&ftrace.target); > if (ret) { > -- > 2.25.1 > -- - Arnaldo