On Tue, 7 Jul 2020 12:09:23 -0400 Steven Rostedt <rost...@goodmis.org> wrote:
> On Sat, 27 Jun 2020 21:36:44 +0800 > Changbin Du <changbin...@gmail.com> wrote: > > > We will reuse this function later. > > > > BTW, trace-cmd.git now has a libtracefs.so library, which I'm hoping > within a month to have as a stand alone (probably along with > libtraceevent and even a libtracecmd). > > > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/tree/lib/tracefs And the API is defined in this header: https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/tree/include/tracefs/tracefs.h -- Steve > > This is a library made to interact with the tracefs directory to remove > reimplementing it all over the place.