A new API to set the desired log level of the library. These changes depend on "[PATCH 0/4] Add severity to library logs" https://lore.kernel.org/linux-trace-devel/20210507095022.1079364-1-tz.stoyanov@xxxxxxxxx/ v2 changes: - Add a parameter to tep_vprint() for errno printing, insted of using the log level. - Added a patch to remove unneeded tep_vwarning() implementation from the unit tests. Tzvetomir Stoyanov (VMware) (3): libtracefs: Add API to set the log level libtracefs: Document new log functionality libtracefs: Remove dummy tep_vwarning() from unit tests Documentation/libtracefs-log.txt | 76 ++++++++++++++++++++++++++++++++ Documentation/libtracefs.txt | 2 + include/tracefs.h | 4 ++ src/tracefs-utils.c | 18 +++++++- utest/trace-utest.c | 5 --- 5 files changed, 99 insertions(+), 6 deletions(-) create mode 100644 Documentation/libtracefs-log.txt -- 2.31.1