problem in User-Space Probing

Frank Ch. Eigler fche@redhat.com
Tue Mar 6 15:56:00 GMT 2012


ch huang <justlooks@gmail.com> writes:

> [...]
> /usr/local/share/systemtap/runtime/uprobes/uprobes.c: In function
> 'uprobe_report_exec':
> /usr/local/share/systemtap/runtime/uprobes/uprobes.c:2401: warning:
> 'uproc' may be used uninitialized in this function
> /usr/local/share/systemtap/runtime/uprobes/uprobes.c: In function
> 'uprobe_report_exit':
> /usr/local/share/systemtap/runtime/uprobes/uprobes.c:2101: warning:
> 'uproc' may be used uninitialized in this function
> i in process("/root/test").function("my_out@/root/test.c:4")

It sounds like some overpicky compiler.  Please try adding a

    = NULL;

to those declarations on those source files.  If it works for you,
please send us that diff/patch to apply to the source tree.


- FChE



More information about the Systemtap mailing list