Re: [PATCH 0/3] perf tools: Allow to enable/disable events via control pipe

From: Namhyung Kim
Date: Mon Dec 07 2020 - 08:26:00 EST


Hi Jiri,

On Mon, Dec 7, 2020 at 2:05 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> hi,
> adding support to enable/disable specific events via control
> file via following commands:
>
> # echo enable-sched:sched_process_fork > control
> # echo disabled-sched:sched_process_fork > control
>
> The code is available in here:
> git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
> perf/control
>
> thanks,
> jirka

Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks,
Namhyung


> ---
> Jiri Olsa (3):
> perf tools: Add evlist__disable_evsel/evlist__enable_evsel
> perf tools: Allow to enable/disable events via control file
> perf tools: Allow to list events via control file
>
> tools/perf/builtin-record.c | 3 +++
> tools/perf/builtin-stat.c | 3 +++
> tools/perf/util/evlist.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
> tools/perf/util/evlist.h | 8 ++++++++
> 4 files changed, 115 insertions(+), 4 deletions(-)
>