* Cross compile systemtap @ 2014-01-24 7:02 Jey Jay 2014-01-24 8:27 ` Jey Jay 2014-01-24 16:01 ` Frank Ch. Eigler 0 siblings, 2 replies; 3+ messages in thread From: Jey Jay @ 2014-01-24 7:02 UTC (permalink / raw) To: systemtap I am able to compile and run most of the scripts listed in https://sourceware.org/systemtap/examples/index.html My question is why we need "sudo" permission for compiling systemtap?? This link https://sourceware.org/systemtap/SystemTap_Beginners_Guide/cross-compiling.html talks only about deploying in similar systems. But I'm compiling in X86 and running in ARM. For running a systemtap generated module, it is good to protect only for privileged user. Is there any specific reason for need of sudo permission during compile time also??? Regards Jey ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cross compile systemtap 2014-01-24 7:02 Cross compile systemtap Jey Jay @ 2014-01-24 8:27 ` Jey Jay 2014-01-24 16:01 ` Frank Ch. Eigler 1 sibling, 0 replies; 3+ messages in thread From: Jey Jay @ 2014-01-24 8:27 UTC (permalink / raw) To: systemtap Adding: https://github.com/RasPlex/systemtap/blob/master/README.unprivileged The above README also doesn't talk about Host- Target scenario. -Jey On Fri, Jan 24, 2014 at 4:02 PM, Jey Jay <rjayavrp2@gmail.com> wrote: > I am able to compile and run most of the scripts listed in > https://sourceware.org/systemtap/examples/index.html > > My question is why we need "sudo" permission for compiling systemtap?? > > This link https://sourceware.org/systemtap/SystemTap_Beginners_Guide/cross-compiling.html > talks only about deploying in similar systems. > > But I'm compiling in X86 and running in ARM. > > For running a systemtap generated module, it is good to protect only > for privileged user. Is there any specific reason for need of sudo > permission during compile time also??? > > Regards > Jey ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cross compile systemtap 2014-01-24 7:02 Cross compile systemtap Jey Jay 2014-01-24 8:27 ` Jey Jay @ 2014-01-24 16:01 ` Frank Ch. Eigler 1 sibling, 0 replies; 3+ messages in thread From: Frank Ch. Eigler @ 2014-01-24 16:01 UTC (permalink / raw) To: Jey Jay; +Cc: systemtap Jey Jay <rjayavrp2@gmail.com> writes: > [...] My question is why we need "sudo" permission for compiling > systemtap?? [...] You don't / shouldn't - either for compiling systemtap itself, or to run systemtap to compile modules (stap -p4 ...), or to use the cross-host remote-execution (stap --remote=HOST) or remote-compilation (stap --use-server=HOST) capabilities. - FChE ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-24 16:01 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-01-24 7:02 Cross compile systemtap Jey Jay 2014-01-24 8:27 ` Jey Jay 2014-01-24 16:01 ` Frank Ch. Eigler
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).