From 1d0d1d003feb57e52483a93ed4f5bfcb5766f05b Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Fri, 28 May 2010 16:05:39 +0200 Subject: [PATCH] Add () to execname in stap man page example. --- stap.1.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stap.1.in b/stap.1.in index 9fa091129..2f5f86f04 100644 --- a/stap.1.in +++ b/stap.1.in @@ -626,7 +626,7 @@ any probe that refers to the alias. For example: .SAMPLE probe syscall.read = kernel.function("sys_read") { fildes = $fd - if (execname == "init") next # skip rest of probe + if (execname() == "init") next # skip rest of probe } .ESAMPLE defines a new probe point -- 2.43.5