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] |
Frank Ch. Eigler wrote: [...]
How about to defer the error to the outer calling ?$ stap -e 'probe process("./stap").statement("foo@main.cxx:*") {}' semantic error: no matched function 'foo' in main.cxx semantic error: no probes found
Not a bad idea, but perhaps we don't need that particular "no matched function" message that covers just this case, considering that the "no probes found" message can/should be paired with the probe point.
- FChE
get_module_dwarf(); + if (!this->function) + return;
if (line_type == RELATIVE) {
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |