On 10/3/19 12:01 PM, Steven Rostedt wrote:
My question is now, how to we go about having distributions package it. Like perf, the main source code lives in the Linux kernel source tree under: tools/lib/traceevent
We're happy to look into this.
What's the next step to get this into a package so that perf, trace-cmd, power-top, rasdaemon, uftrace, and whatever does not need to have its own copy of the code, but instead link to it.
If building perf from source (git) it would be useful to be able to select either the lib/traceevent in the tree (probably should be the default) or the libtraceevent installed via rpm/etc. Obviously the later is a pre-requisite to being able to package perf with a rpm build-requires on the libtraceevent-devel rpm.
Let me know of anyone else that can help in getting this packaged for a Linux distribution.
Tony