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: Custom loader for STAP


Works! Thanks!

Mount point exists, but debugfs is not mounted. This is a 100th time I
forget that debugfs is not necessary mounted after boot. Strace log
clearly shows call to mount(), but I missed this tip as well.
Oh, well. May be next time I will remember.

On Wed, May 24, 2017 at 8:28 PM, Frank Ch. Eigler <fche@redhat.com> wrote:
> Arkady <arkady.miasnikov@gmail.com> writes:
>
>> [...]
>> The approach works fine with the modern (?) kernels. In the CentOS 6.9
>> folder /sys/kernel/debug/systemtap does not appear after I insmod the
>> module. [...]
>
> Maybe you're just missing the mount ... DEBUGFS or RELAYFS part from
> staprun/staprun_funcs.c: mountfs() ?
>
> - FChE


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