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]

[Bug translator/4935] support on-the-fly probe enable/disable syntax


------- Additional Comments From mhiramat at redhat dot com  2007-12-05 19:21 -------
(In reply to comment #9)
> One question regarding the new semko/thirtynine test: why should that fail
> rather than be interpreted as an unconditional probe that happens to contain
> ".if(1)" as the last probe point component?

Because the "if()" statement is not a component of a probe point, you should NOT
 use it with ".".

The parser passes ".if(1)" as a probe point component.However, the elaborator
fails to resolve it, so it is "semko".

Here is the error output:
---
semantic error: probe point mismatch at position 2 (alternatives: call inline
return) while resolving probe point kernel.function("sys_open").if(1)
---

Thanks,

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4935

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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