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]

about systemtap test!


Two problems:

1. I use the follow program for testing:

    probe kernel.function("sys_open")
{
    printf("%s(%d)open(%s)\n", execname(), pid(), argstr)
}
probe timer.ms(4000)
{
    exit()
}

   the result looks like this:

    udev(10266) open()
    udev(10266) open()
    udev(10266) open()
    nifd(1383) open()
    ...
So why have not anything include the open's parenttheses? And what
meaning of the "argstr"?

2. how use systemtap probes the watchpoint? Can you give me some examples?

thanks.


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