• Jiri Olsa's avatar
    perf tools: Add support to read build id from compressed elf · 47dce51a
    Jiri Olsa authored
    Adding support to decompress file before reading build id.
    
    Adding filename__read_build_id and change its current versions to
    read_build_id.
    
    Shutting down stderr output of perf list in the shell test:
      82: Check open filename arg using perf trace + vfs_getname          : Ok
    
    because with decompression code in the place we the
    filename__read_build_id function is more verbose in case
    of error and the test did not account for that.
    Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Alexei Budankov <abudankov@huawei.com>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Michael Petlan <mpetlan@redhat.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Song Liu <songliubraving@fb.com>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lore.kernel.org/lkml/20201214105457.543111-7-jolsa@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    47dce51a
symbol-elf.c 54.2 KB