diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-02-15 13:11:42 -0800 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-02-16 12:51:32 -0800 |
commit | a8e8f851e8299703a005cf23dfb9ec854a2611e5 (patch) | |
tree | ba83971d5b8362610ac7f43bf41b70afdbad49d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3593030761630e09200072a4bd06468892c27be3 (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions