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: string concatenation


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


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