mbox series

[0/2] Consolidate APIs to locate tracefs mount point.

Message ID 20201221060241.177767-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series Consolidate APIs to locate tracefs mount point. | expand

Message

Tzvetomir Stoyanov (VMware) Dec. 21, 2020, 6:02 a.m. UTC
The two APIs to get the tracefs mount point 
tracefs_get_tracing_dir() and tracefs_find_tracing_dir()
are replaced by single one, tracefs_tracing_dir()

Tzvetomir Stoyanov (VMware) (2):
  libtracefs: Remove tracefs_find_tracing_dir() API
  libtracefs: Rename tracefs_get_tracing_dir() to tracefs_tracing_dir()

 include/tracefs-local.h |  2 ++
 include/tracefs.h       |  7 ++-----
 src/tracefs-events.c    |  8 ++++----
 src/tracefs-instance.c  |  2 +-
 src/tracefs-utils.c     | 14 +++++++-------
 test.c                  |  2 +-
 utest/tracefs-utest.c   | 23 +++++++----------------
 7 files changed, 24 insertions(+), 34 deletions(-)