]> git.baikalelectronics.ru Git - kernel.git/commit
perf evlist: Introduce 'disable' method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Jul 2011 14:06:19 +0000 (11:06 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Jul 2011 14:06:19 +0000 (11:06 -0300)
commit5a0ce53b67c98a1ee7325c8e4923b09f2338375a
treef0b01d51b9efe519ecbc9827bf1116de2a2317c3
parentc2bf5a9d980e1529bce24318d6dc400d30e0eb0a
perf evlist: Introduce 'disable' method

To remove the last case of access to the FD() macro outside the library.

Inspired by a patch by Borislav that moved the FD() macro to util.h, for
namespace concerns I rather preferred to constrain it to ev{sel,list}.c.

Cc: Borislav Petkov <bp@amd64.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-qn893qsstcg366tkucu649qj@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h