Messages in this thread | | | Date | Tue, 4 Nov 2014 11:15:08 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module |
| |
Em Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim escreveu: > Now my Archlinux box shows module symbols correctly.
Now my RHEL6 box doesn't build:
> +++ b/tools/perf/util/dso.c > @@ -141,17 +141,13 @@ int dso__read_binary_type_filename(const struct dso *dso, > return ret;
> static const struct { > const char *fmt; > int (*decompress)(const char *input, int output); > } compressions[] = { > - { "gz", decompress_dummy }, > +#ifdef HAVE_ZLIB_SUPPORT > + { "gz", gzip_decompress_to_file }, > +#endif > { NULL, }, > };
CC /tmp/build/perf/util/dso.o cc1: warnings being treated as errors util/dso.c:151: error: missing initializer util/dso.c:151: error: (near initialization for ‘compressions[1].decompress’) make[1]: *** [/tmp/build/perf/util/dso.o] Error 1 make: Leaving directory `/home/gita/perf-3.18.0-rc1/tools/perf' make: *** [install] Error 2 [acme@zoo linux]$
Will try and fix it, nevermind :-)
- Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |