This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: string concatenation
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: OldEagle <zwying at hotmail dot com>
- Cc: <systemtap at sources dot redhat dot com>
- Date: Wed, 01 Sep 2010 08:16:44 -0400
- Subject: Re: string concatenation
- References: <BAY146-w6167D86DA421ADE7CB474ADB8B0@phx.gbl>
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