]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Introduce ->free() method in ins_ops
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 12 May 2012 16:26:20 +0000 (13:26 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 12 May 2012 16:26:20 +0000 (13:26 -0300)
commitb7997e3b0c88c1368e40a314b843600a81f1949f
treeb23272866f5755d859a31fb7e5e0127b4545639a
parent53c8c5efb070139388665b2cfafca2b6383674c4
perf annotate: Introduce ->free() method in ins_ops

So that we don't special case disasm_line__free, allowing each
instruction class to provide an specialized destructor, like is needed
for 'lock'.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
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-xxw4vs5n077tf35jsvjzylhb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/annotate.h