lisa
lisa copied to clipboard
how to recompile systemtap scripts
Hi, great work!
I want to write my own systemtap scripts and how I can recompile it to insert in the qemu images?
thanks.
Hi,
For cross-compiling systemtap scripts you need:
- cross-compiler
- kernel build tree of the image you're compiling your scripts for - LiSa's images are prepared using buildroot. Buildroot outputs kernel build tree to
output/build/linux-{version}
I prepared docker image for compiling systemtap scripts, so you can use this project, or just follow similar setup as in the repo.
LiSa's images are currently uploaded here (these are only compressed images). If you have an idea where I could upload those images, including kernel build tree - so you can use them for compiling your scripts, I'd be happy to do that.
You can copy built systemtap modules using e2cp to copy file inside ext2/ext3 filesystem.
Thanks for your reply.
Buildroot seems a good tool to build embedded Linux, but I have not used it before. Please give me some advices about which configuration options I need to set or anything else, then I can make a LiSa-like image myself.
Maybe you can upload those files to Google Drive (free 15GB), and share the link to others.
Thanks for your reply.
Buildroot seems a good tool to build embedded Linux, but I have not used it before. Please give me some advices about which configuration options I need to set or anything else, then I can make a LiSa-like image myself.
Maybe you can upload those files to Google Drive (free 15GB), and share the link to others.
Hi
Have you found the way to recompile ? I wanna build an PowerPC Linux kernel image containing Systemtap but I have no idea about how to do it. Plz let me know if you already got the answer.
Thanks