Re: [PATCH 35/63] perf trace: Allow specifying a set of events to add in perfconfig

2018-12-19 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 19, 2018 at 05:40:24PM +0900, Namhyung Kim escreveu: > On Tue, Dec 18, 2018 at 07:07:05PM -0300, Arnaldo Carvalho de Melo wrote: > > + if (!strcmp(var, "trace.add_events")) { > > + struct trace *trace = arg; > > + struct option o = OPT_CALLBACK('e', "event", &trace

Re: [PATCH 35/63] perf trace: Allow specifying a set of events to add in perfconfig

2018-12-19 Thread Namhyung Kim
Hi Arnaldo, On Tue, Dec 18, 2018 at 07:07:05PM -0300, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > To add augmented_raw_syscalls to the events speficied by the user, or be > the only one if no events were specified by the user, one can add this > to perfconfig: > > # c

[PATCH 35/63] perf trace: Allow specifying a set of events to add in perfconfig

2018-12-18 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To add augmented_raw_syscalls to the events speficied by the user, or be the only one if no events were specified by the user, one can add this to perfconfig: # cat ~/.perfconfig [trace] add_events = /home/acme/git/perf/tools/perf/examples/bpf/augmen