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)
commitc46219ac34f0f365bac700ca6a10ef979c643233
treeb23272866f5755d859a31fb7e5e0127b4545639a
parent7a997fe4019f556a81530d3a737d817a2b0d622f
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
This page took 0.030236 seconds and 5 git commands to generate.