perf sdt: Add scanning of sdt probes arguments
authorAlexis Berlemont <alexis.berlemont@gmail.com>
Wed, 14 Dec 2016 00:07:31 +0000 (01:07 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 21 Mar 2017 13:56:28 +0000 (10:56 -0300)
commitbe88184b1c7054719296387c6063748fb48fa645
tree1bc5f338b60d8387969a6cb8364b43171fb0d021
parent70946723eeb859466f026274b29c6196e39149c4
perf sdt: Add scanning of sdt probes arguments

During a "perf buildid-cache --add" command, the section ".note.stapsdt"
of the "added" binary is scanned in order to list the available SDT
markers available in a binary. The parts containing the probes arguments
were left unscanned.

The whole section is now parsed; the probe arguments are extracted for
later use.

Signed-off-by: Alexis Berlemont <alexis.berlemont@gmail.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20161214000732.1710-2-alexis.berlemont@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol-elf.c
tools/perf/util/symbol.h