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

probe kernel:systemcall("foo") 
{
  array[idx] << value;
  if (global > 5) { global -- } else ;
}

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

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