Added empty constructor and destructor routines of the trace-cmd library. They will be used to initialize and free compression context of the library. Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@xxxxxxxxx> --- lib/trace-cmd/trace-util.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/trace-cmd/trace-util.c b/lib/trace-cmd/trace-util.c index b0c98c72..0f49a21a 100644 --- a/lib/trace-cmd/trace-util.c +++ b/lib/trace-cmd/trace-util.c @@ -624,3 +624,13 @@ bool tracecmd_is_version_supported(unsigned int version) return true; return false; } + +static void __attribute__ ((constructor)) tracecmd_lib_init(void) +{ + +} + +static void __attribute__((destructor)) tracecmd_lib_free(void) +{ + +} -- 2.31.1