--- zzzz-none-000/linux-4.1.52/tools/perf/util/dso.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/tools/perf/util/dso.h 2022-03-02 11:37:14.000000000 +0000 @@ -220,6 +220,14 @@ bool decompress_to_file(const char *ext, const char *filename, int output_fd); bool dso__needs_decompress(struct dso *dso); +#define IGNORE_BCM_KF_EXCEPTION +#if 1 // defined(CONFIG_BCM_KF_MISC_BACKPORTS) +int dso__decompress_kmodule_path(struct dso *dso, const char *name, + char *pathname, size_t len); +#define KMOD_DECOMP_NAME "/tmp/perf-kmod-XXXXXX" +#define KMOD_DECOMP_LEN sizeof(KMOD_DECOMP_NAME) +#endif + struct kmod_path { char *name; char *ext;