summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/six.stp
blob: a4a893da40c46261ccc0a31b326b8554b342046e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! stap -p4

# tests probing of an inline function: note that due to comments
# listed in PR 1155 we cannot resolve the parameters of the inline
# at the moment.

probe kernel.function("context_switch").inline ? {
  log ("found an inline function")
}

probe never {
  log ("or not ...")
}