diff options
| author | Jon Tourville <jon.tourville@canonical.com> | 2022-07-11 11:36:08 -0500 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2022-10-03 14:49:02 -0700 |
| commit | f4d6b94b40c966ddd9eeb0d451e8a02c595ec7e3 (patch) | |
| tree | 918cf11a9d4d6ccc6f362f4ee149586bff23c1fc /tools/perf/scripts/python/flamegraph.py | |
| parent | apparmor: reserve mediation classes (diff) | |
| download | linux-f4d6b94b40c966ddd9eeb0d451e8a02c595ec7e3.tar.gz linux-f4d6b94b40c966ddd9eeb0d451e8a02c595ec7e3.zip | |
apparmor: use zstd compression for profile data
Change the algorithm used by apparmor to compress profile data from
zlib to zstd, using the new zstd API introduced in 5.16.
Zstd provides a larger range of compression levels than zlib and
significantly better performance at the default level (for a relatively
small increase in compressed size).
The apparmor module parameter raw_data_compression_level is now clamped
to the minimum and maximum compression levels reported by the zstd
library. A compression level of 0 retains the previous behavior of
disabling policy compression instead of using zstd's behavior, which is
to use the default compression level.
Signed-off-by: Jon Tourville <jon.tourville@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
