mbox series

[v2,0/5] New libtracefs APIs for trace options and trace dir

Message ID 20210120151256.43075-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series New libtracefs APIs for trace options and trace dir | expand

Message

Tzvetomir Stoyanov (VMware) Jan. 20, 2021, 3:12 p.m. UTC
A new set of tracefs library APIs for:
 - Working with trace options.
 - Working with non default tracing directory.

v2 changes:
 - Changed the trace options IDs from bitmask to enum.
 - Abstracted trace options bitmap structure.
 - Removed test_nop_refuse and test_nop_accept options from the library.
 - Renamed tracefs_instance_get() to tracefs_instance_alloc().
 
Tzvetomir Stoyanov (VMware) (5):
  libtracefs: New APIs for trace options
  libtracefs: Unit tests for tracing options APIs
  libtracefs: Add information about top tracing directory in instance
    structure
  libtracefs: New APIs for getting existing trace instance
  libtracefs: Unit tests for working with non default tracing dir

 include/tracefs.h      |  64 ++++++
 src/tracefs-instance.c | 137 ++++++++++---
 src/tracefs-tools.c    | 244 +++++++++++++++++++++++
 utest/tracefs-utest.c  | 431 +++++++++++++++++++++++++++++++++++------
 4 files changed, 786 insertions(+), 90 deletions(-)