This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to remove shellsnoop?


On Fri, 2005-09-02 at 13:55 +0800, CHANG Xiaolin wrote:
> Hi,
> I "insmod runtime/probes/shellsnoop/shellsnoop.ko".

That is a bad idea, but it should be harmless.

> There is no error.
> But when I "rmmod shellsnoop", the computer restarts.
> 
> Could anyone explain the reason? We  can not use rmmod to remove
> shellsnoop modules? if not, how to remove shellsnoop module ?

I tried this on several different OSes and cpus and it never happened to
me, so I cannot guess what is going on.

The only supported way to load modules built using the systemtap runtime
is with stpd.  From the systemtap directory, it would be
"../../stpd/stpd shellsnoop.ko"  Or install stpd in your path and you
can just do "stpd shellsnoop.ko"

Martin



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]