[PATCH 06/11] perf symbols: Set module info when build-id event found

2017-06-06 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Like machine__findnew_module_dso(), it should set necessary info for kernel modules to find symbol info from the file. Factor out dso__set_module_info() to do it. This is needed for dso__needs_decompress() to detect such DSOs. Signed-off-by: Namhyung

[PATCH 06/11] perf symbols: Set module info when build-id event found

2017-06-06 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Like machine__findnew_module_dso(), it should set necessary info for kernel modules to find symbol info from the file. Factor out dso__set_module_info() to do it. This is needed for dso__needs_decompress() to detect such DSOs. Signed-off-by: Namhyung Kim Acked-by: Jiri