From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752337AbaC2RMO (ORCPT ); Sat, 29 Mar 2014 13:12:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20047 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751604AbaC2RMN (ORCPT ); Sat, 29 Mar 2014 13:12:13 -0400 Date: Sat, 29 Mar 2014 18:11:38 +0100 From: Jiri Olsa To: Don Zickus Cc: acme@ghostprotocols.net, LKML , jmario@redhat.com, fowles@inreach.com, peterz@infradead.org, eranian@google.com, andi.kleen@intel.com Subject: Re: [PATCH 06/15 V3] perf, c2c: Add in new options to configure latency and stores Message-ID: <20140329171138.GF2022@krava.redhat.com> References: <1395689826-215033-1-git-send-email-dzickus@redhat.com> <1395689826-215033-7-git-send-email-dzickus@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1395689826-215033-7-git-send-email-dzickus@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 24, 2014 at 03:36:57PM -0400, Don Zickus wrote: > Modified the code to allow latency settings to be tweaked on the command line > and also the ability to dynamically profile stores (or disable using stores). > > This allows the tool to be used on older Intel platforms like Westmere. > > Signed-off-by: Don Zickus > --- SNIP > @@ -316,6 +369,12 @@ int cmd_c2c(int argc, const char **argv, const char *prefix __maybe_unused) > }; > const struct option c2c_options[] = { > OPT_BOOLEAN('r', "raw_records", &c2c.raw_records, "dump raw events"), > + OPT_INTEGER('l', "latency-level", &lat_level, > + "specify the latency threshold for loads [default=30]"), > + OPT_INTEGER('p', "precision-level", &prec_level, > + "specify the precision level of events (0,1,2,3) [default=1]"), could we get also option for user space modifier? I needed to hack it in for my tests ;-) thanks, jirka