aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorSergey Senozhatsky <[email protected]>2024-09-02 19:56:09 +0900
committerAndrew Morton <[email protected]>2024-09-09 16:39:11 -0700
commit1e673c8cf7f9c1156f615b7c00f224a8110070da (patch)
tree30b17af72a84640b5b9b343acc0aa4d83f077ae3 /tools/perf/scripts/python/flamegraph.py
parentfb4f644ee8dac4e896269b84f041eb5dd3f6249d (diff)
zram: add dictionary support to lz4hc
Support pre-trained dictionary param. Just like lz4, lz4hc doesn't mandate specific format of the dictionary and zstd --train can be used to train a dictionary for lz4, according to [1]. TEST ==== *** lz4hc /sys/block/zram0/mm_stat 1750638592 608954620 621031424 0 621031424 1 0 34288 34288 *** lz4hc dict=/etc/lz4-dict-amd64 /sys/block/zram0/mm_stat 1750671360 505068582 514994176 0 514994176 1 0 34278 34278 [1] https://github.com/lz4/lz4/issues/557 Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Sergey Senozhatsky <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Nick Terrell <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions