Messages in this thread | | | Date | Tue, 7 Jul 2020 12:10:41 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH v2 05/15] perf ftrace: factor out function write_tracing_file_int() |
| |
On Tue, 7 Jul 2020 12:09:23 -0400 Steven Rostedt <rostedt@goodmis.org> wrote:
> On Sat, 27 Jun 2020 21:36:44 +0800 > Changbin Du <changbin.du@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.
| |