Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to recompile systemtap scripts #7

Open
firmianay opened this issue Feb 24, 2020 · 3 comments
Open

how to recompile systemtap scripts #7

firmianay opened this issue Feb 24, 2020 · 3 comments

Comments

@firmianay
Copy link
Contributor

Hi, great work!

I want to write my own systemtap scripts and how I can recompile it to insert in the qemu images?

thanks.

@danielpoliakov
Copy link
Owner

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.

@firmianay
Copy link
Contributor Author

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.

@firmianay firmianay reopened this Apr 27, 2021
@a798047815
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants