[PATCH 14/21] perf tools: Add is_compressed callback to compressions array

2018-08-20 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add is_compressed callback to the compressions array, that returns 0 if the file is compressed or != 0 if not. The new callback is used to recognize the situation when we have a 'compressed' object, like: /lib/modules/.../drivers/net/ethernet/intel/igb/igb.ko.xz but we need

[PATCH 14/21] perf tools: Add is_compressed callback to compressions array

2018-08-20 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add is_compressed callback to the compressions array, that returns 0 if the file is compressed or != 0 if not. The new callback is used to recognize the situation when we have a 'compressed' object, like: /lib/modules/.../drivers/net/ethernet/intel/igb/igb.ko.xz but we need