danieluhricek / CrossStapBuild

Cross-compile Systemtap scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CrossStapBuild - Cross-compile Systemtap Scripts

Docker environment for simple cross-compiling Systemtap scripts.

Build

# docker build -t csb .

Example

# docker run -v /host/shared:/shared:rw csb -a arm -k /shared/arm-kernel-tree /shared/script.stp

Supported architectures

  • x86_64
  • i386
  • arm
  • aarch64
  • mips

Custom changes

  • SystemTap patch for undefined syscalls (arm).
  • Usage of debian-patched elfutils (elfutils upstream misses mips support).

Cross-compilation toolchains

Project uses following toolchains from toolchains.bootlin.com:

About

Cross-compile Systemtap scripts

License:Apache License 2.0


Languages

Language:C 70.1%Language:Shell 17.9%Language:Makefile 9.6%Language:M4 1.0%Language:C++ 0.8%Language:Yacc 0.5%Language:Assembly 0.0%Language:Lex 0.0%Language:Awk 0.0%Language:Dockerfile 0.0%Language:sed 0.0%