Messages in this thread | | | Date | Tue, 15 Dec 2020 17:27:01 +0100 | From | Jiri Olsa <> | Subject | Re: [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
| |