diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-02-16 00:11:42 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-02-16 23:51:32 +0300 |
commit | a8e8f851e8299703a005cf23dfb9ec854a2611e5 (patch) | |
tree | ba83971d5b8362610ac7f43bf41b70afdbad49d4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3593030761630e09200072a4bd06468892c27be3 (diff) | |
download | linux-a8e8f851e8299703a005cf23dfb9ec854a2611e5.tar.xz |
module: fix building with sysfs disabled
Sysfs support might be disabled so we need to guard the code that
instantiates "compression" attribute with an #ifdef.
Fixes: b1ae6dc41eaa ("module: add in-kernel support for decompressing")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions