This is built on top of the three patches from Yordan that can be found here: https://patchwork.kernel.org/project/linux-trace-devel/list/?series=132531 It makes "make clean" remove cmake generated files (my build failed and I couldn't figure out why. "make clean" should allow builds to build again when CMake files change). I also adde a "make BUILD_TYPE=foo" to pass to the cmake command to change the CMAKE_BUILD_TYPE to allow an easy build by the package maintainers to change how KernelShark is built. It also updates the README with the current way to build KernelShark. Changes from v1: - Added a patch to first change the README to the latest make process - Incorporated Yordan's suggestions about breaking up the build documentation into two sections, one explaining the "simple" method from the toplevel git repo, and the other explaining the "expert" method using cmake directly. Steven Rostedt (VMware) (3): kernelshark: Update the README for changes to the make process kernel-shark: Have "make clean" run cmake-clean.sh kernel-shark: Add 'make BUILD_TYPE=X gui' to change how the gui is made ---- Makefile | 6 ++++- kernel-shark/CMakeLists.txt | 2 +- kernel-shark/README | 63 +++++++++++++++++++++++++++++++++++++-------- 3 files changed, 58 insertions(+), 13 deletions(-)
![]() |