[PATCH 07/11] perf symbols: Use correct filename for compressed modules in build-id cache

2017-06-06 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The decompress_kmodule() decompresses kernel modules in order to load symbols from it. In the DSO_BINARY_TYPE__BUILD_ID_CACHE case, it needs the full file path to extract the file extension to determine the decompression method. But overwriting 'name'

[PATCH 07/11] perf symbols: Use correct filename for compressed modules in build-id cache

2017-06-06 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The decompress_kmodule() decompresses kernel modules in order to load symbols from it. In the DSO_BINARY_TYPE__BUILD_ID_CACHE case, it needs the full file path to extract the file extension to determine the decompression method. But overwriting 'name' will fail the