trace-cmd
trace-cmd copied to clipboard
utilities for Linux ftrace
These libraries' devel packages are mentioned for Ubuntu, but have slightly different names for RHEL/Fedora distros.
When cross compiling trace-cmd the tracecmd/Makefile is not being passed the toolchain passed to the parent Makefile via CROSS_COMPILE.
Whilst building trace-cmd for a 32bit android board I was running into problems of my toolchain (arm-linux-gnueabi-) not being able to link rt. Removing the link the build succeeds, I...
``` Traceback (most recent call last): File "tracecmd.py", line 251, in print("\t%s" % (ev)) File "tracecmd.py", line 66, in __str__ (self.ts/1000000000, self.ts%1000000000, self.cpu, self.name, File "tracecmd.py", line 46, in _get...
This is useful when the traced command should not be run as root.
Change `childen` to `children`
Makefile: Create a build directory for kernelshark when building it. Provide standardized CMAKE_BUILD_TYPE, CMAKE_INSTALL_PREFIX and CMAKE_INSTALL_BINDIR instead of custom parameters. Instead of calling custom scripts, remove the created build directory...
I meet problems like this when I use clang: [ 109s] trace-hooks.c:135:5: error: call to undeclared function 'warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] [...