diff options
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,13 @@ * What's new in version 0.6 / since version 0.5.15? +- You can add a conditional statement for each probe point or aliase, which + is evaluated when the probe point is hit. If the condition is false, the + whole probe body(including aliases) is skipped. For example: + + global switch = 0; + probe syscall.* if (switch) { ... } + probe procfs.write {switch = strtol($value,10)} /* enable/disable ctrl */ + - Systemtap will warn you if your script contains unused variables or functions. This is helpful in case of misspelled variables. If it doth protest too much, turn it off with "stap -w ...". |