lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151109135806.GI13236@kernel.org>
Date:	Mon, 9 Nov 2015 10:58:06 -0300
From:	Arnaldo Carvalho de Melo <acme@...nel.org>
To:	Taeung Song <treeze.taeung@...il.com>
Cc:	linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
	Namhyung Kim <namhyung@...nel.org>,
	Jiri Olsa <jolsa@...hat.com>
Subject: Re: [PATCH v10 01/22] perf tools: Add 'perf-config' command

Em Mon, Nov 09, 2015 at 11:32:54AM +0900, Taeung Song escreveu:
> The perf configuration file contains many variables to change various
> aspects of each of its tools, including output, disk usage, etc.
> But looking through state of configuration is difficult and
> there's no knowing what kind of other variables except variables
> in perfconfig.example exist. So This patch adds 'perf-config'
> command with '--list' option.
> 
>     perf config [options]
> 
>     display current perf config variables.
>     # perf config
>     or
>     # perf config -l | --list

So, trying to use it:

  $ perf config
  $

It does nothing, it should either list the configuration values, I think
probably showing just what is in the ~/.perfconfig files, i.e. things
the user explicitely changed, or show an usage message, like all the
other tools, for instance:

  $ perf stat

   Usage: perf stat [<options>] [<command>]

     -a, --all-cpus        system-wide collection from all CPUs
       -A, --no-aggr         disable CPU count aggregation
      -B, --big-num         print large numbers with thousands' separators
      -C, --cpu <cpu>       list of cpus to monitor in system-wide
 <SNIP>

'perf evlist' alternatively does, like perf list, show what a default
action:

  $ perf evlist
  cycles:pp
  $

And:

  $ perf list | head -5
  branch-instructions OR branches                    [Hardware event]
  branch-misses                                      [Hardware event]
  bus-cycles                                         [Hardware event]
  cache-misses                                       [Hardware event]
  cache-references                                   [Hardware event]
  $ 

While 'perf config' does nothing :-\

I suggest you do just like 'perf evlist' and 'perf list'.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ