summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/six.stp
blob: 2d9a40aaf35058af908fb748fc8733fd06486043 (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.inline("context_switch")? {
  log ("found an inline function")
}

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