Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755404AbbGZQcY (ORCPT ); Sun, 26 Jul 2015 12:32:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46342 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755284AbbGZQcW (ORCPT ); Sun, 26 Jul 2015 12:32:22 -0400 Date: Sun, 26 Jul 2015 18:32:18 +0200 From: Jiri Olsa To: kan.liang@intel.com Cc: a.p.zijlstra@chello.nl, acme@kernel.org, luto@kernel.org, mingo@redhat.com, eranian@google.com, ak@linux.intel.com, mark.rutland@arm.com, adrian.hunter@intel.com, jolsa@kernel.org, namhyung@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 6/6] perf,tools: Show freq/CPU%/CORE_BUSY% in perf report --stdio Message-ID: <20150726163218.GH24646@krava.brq.redhat.com> References: <1437745712-16649-1-git-send-email-kan.liang@intel.com> <1437745712-16649-7-git-send-email-kan.liang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437745712-16649-7-git-send-email-kan.liang@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1128 Lines: 37 On Fri, Jul 24, 2015 at 09:48:32AM -0400, kan.liang@intel.com wrote: SNIP > diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h > index fa0ccf3..7d70c89 100644 > --- a/tools/perf/util/symbol.h > +++ b/tools/perf/util/symbol.h > @@ -106,7 +106,8 @@ struct symbol_conf { > filter_relative, > show_hist_headers, > branch_callstack, > - has_filter; > + has_filter, > + show_freq_perf; > const char *vmlinux_name, > *kallsyms_name, > *source_prefix, > diff --git a/tools/perf/util/util.c b/tools/perf/util/util.c > index edc2d63..648b307 100644 > --- a/tools/perf/util/util.c > +++ b/tools/perf/util/util.c > @@ -34,6 +34,8 @@ bool test_attr__enabled; > bool perf_host = true; > bool perf_guest = false; > > +bool perf_freq, perf_cpu_u, perf_core_busy; how about 'symbol_conf.freq_perf_type' having display info encoded in? thanks, jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/