summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/two.stp
blob: 884e285d03a702d2ad88e11110962a3dc42f179a (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 (gbl > 5) { gbl -- } else ;
}

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

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