Re: [PATCH v5 13/13] perf record: introduce --ctl-fd[-ack] options

Andi Kleen
2020-06-01T23:37:34Z

> > or a pathname, or including also the event default of "disabled".
>
> For my cases conversion of pathnames into open fds belongs to external
> controlling process e.g. like in the examples provided in the patch set.
> Not sure about "event default of 'disabled'"

It would be nicer for manual use cases if perf supported the path names
directly like in Adrian's example, not needing a complex wrapper script.

-Andi
>
> >
> > e.g. add "--control" and support all of:
> >
> > --control
> > --control 11
> > --control 11,15
> > --control 11,15,disabled
> > --control 11,,disabled
> > --control /tmp/my-perf.fifo
> > --control /tmp/my-perf.fifo,/tmp/my-perf-ack.fifo
> > --control /tmp/my-perf.fifo,/tmp/my-perf-ack.fifo,disabled
> > --control /tmp/my-perf.fifo,,disabled
> >
> > Regards
> > Adrian
> >
>
> Regards,
> Alexey
>