perf annotate: Introduce constructor/destructor for annotated_source
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 May 2018 19:01:31 +0000 (16:01 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Jun 2018 13:28:51 +0000 (10:28 -0300)
commitca39650309a7ce471ed6077267a27a0ac1f28941
tree366d65c608eb269358ea13c8d03df0cf8e9e781a
parent116c626b9aca10ee7619b06185c22a5b2da19e30
perf annotate: Introduce constructor/destructor for annotated_source

More stuff will go in there, all the parts that are not needed when a
symbol had no samples and that were mistakenly added to 'struct
annotation'.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-u4761kyzhixw9ydk6kib3f0o@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c