lkml.org 
[lkml]   [2020]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] perf tools: Add evlist/evlist-verbose control commands
On Tue, Dec 15, 2020 at 01:09:33PM -0300, Arnaldo Carvalho de Melo wrote:

SNIP

> > instead of:
>
> > echo 'enable-cycles' > control
>
> > I'd like to avoid any elaborate parsing logic..
>
> > how about that?
>
> Use space to separate command from its arguments, keep the same
> experience as:
>
> [acme@quaco ~]$ perf evlist -h
>
> Usage: perf evlist [<options>]
>
> -f, --force don't complain, do it
> -F, --freq Show the sample frequency
> -g, --group Show event group information
> -i, --input <file> Input file name
> -v, --verbose Show all event attr details
> --trace-fields Show tracepoint fields
>
> [acme@quaco ~]$
>
> and:
>
> echo "evlist arguments"
>
> ?
>
> Fits the bill :-)

ok

>
> The experience users have on existing commands, the same arguments, etc.
>
> Even -h can have its uses, i.e. has this daemon support for some option
> or is it an old version?

Alexei just suggested to add 'stop' control command and use it
instead of kill signal, which is good idea

but other than that daemon just opens the control file and
shows its path

jirka

\
 
 \ /
  Last update: 2020-12-15 17:29    [W:2.081 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site