Em Mon, Sep 28, 2015 at 10:33:32AM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Fri, Sep 25, 2015 at 04:15:53PM +0300, Adrian Hunter escreveu:
> > Add a counterpart to perf_evlist__add() that does the opposite
> > and deletes the evsel.
> >
> > This will be used by perf inject to remove
Em Fri, Sep 25, 2015 at 04:15:53PM +0300, Adrian Hunter escreveu:
> Add a counterpart to perf_evlist__add() that does the opposite
> and deletes the evsel.
>
> This will be used by perf inject to remove unwanted evsels
I think perf_evsel__remove() is better, as __del() looks like a shortcut
for
Em Mon, Sep 28, 2015 at 10:33:32AM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Fri, Sep 25, 2015 at 04:15:53PM +0300, Adrian Hunter escreveu:
> > Add a counterpart to perf_evlist__add() that does the opposite
> > and deletes the evsel.
> >
> > This will be used by perf inject to remove
Em Fri, Sep 25, 2015 at 04:15:53PM +0300, Adrian Hunter escreveu:
> Add a counterpart to perf_evlist__add() that does the opposite
> and deletes the evsel.
>
> This will be used by perf inject to remove unwanted evsels
I think perf_evsel__remove() is better, as __del() looks like a shortcut
for
Add a counterpart to perf_evlist__add() that does the opposite
and deletes the evsel.
This will be used by perf inject to remove unwanted evsels.
Signed-off-by: Adrian Hunter
---
tools/perf/util/evlist.c | 8
tools/perf/util/evlist.h | 1 +
2 files changed, 9 insertions(+)
diff --git
Add a counterpart to perf_evlist__add() that does the opposite
and deletes the evsel.
This will be used by perf inject to remove unwanted evsels.
Signed-off-by: Adrian Hunter
---
tools/perf/util/evlist.c | 8
tools/perf/util/evlist.h | 1 +
2 files changed, 9
6 matches
Mail list logo