string concatenation

Frank Ch. Eigler fche@redhat.com
Wed Sep 1 12:16:00 GMT 2010


OldEagle <zwying@hotmail.com> writes:

> why I cannot use string concatenation here?
>  probe module(@1).function("*@" . "/root/trunk/client/src/thread.c").call

Actually, we could probably make this work, but in the mean time, you
can rely on implicit string-literal concatenation, as in C/cpp:

  probe module(@1).function("*@" "/root/trunk/client/src/thread.c").call

IOW, no dot                     ^ here.

- FChE



More information about the Systemtap mailing list