Re: [PATCH v6 17/45] trace-cmd library: Add support for zlib compression library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Jun 2021 10:50:01 +0300
"Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote:

> If libz is available, use that library to provide trace file compression
> support. The library is detected runtime.

Why have the library detected at runtime?

If it is detected, we can then have the library flags include -lz.

Why use dlopen to load zlib? And not just include it?

This seems rather fragile to try to get right.

-- Steve


> 
> Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@xxxxxxxxx>
> ---



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux