Hi, On 06.12.2020 20:05, Jiri Olsa wrote: > Adding interface to enable/disable single event in the > evlist based on its name. It will be used later in new > control enable/disable interface. > > Keeping the evlist::enabled true when one or more events > are enabled so the toggle can work properly and toggle > evlist to disabled state. > > Signed-off-by: Jiri Olsa <[email protected]> > --- > tools/perf/util/evlist.c | 69 ++++++++++++++++++++++++++++++++++++++-- > tools/perf/util/evlist.h | 2 ++ > 2 files changed, 68 insertions(+), 3 deletions(-)
Acked-by: Alexei Budankov <[email protected]> Regards, Alexei

