summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/two.stp
blob: d18dd3e3c6a311695192927e39e48750b957e96e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! stap -p1

probe syscall (231)
{
  array[idx] <<< value;
  if (global > 5) { global -- } else ;
}

function foo () {
  delete array[4];
  return 0;
}

probe end
{
  foo ("value", 4+8);
}