summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/tcpmib-all-probes.stp
blob: 8d1105e1b93fe96c6583b1e656fa8df6932ae594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! stap -p4

// Tests if all probes in the tcpmib tapset are resolvable.

probe tcpmib.* {}

probe begin{
        print(tcpmib_get_state(0) +
              tcpmib_local_addr(0) +
              tcpmib_remote_addr(0) +
              tcpmib_local_port(0) +
              tcpmib_remote_port(0) +
              _rtn_local() +
              _is_reset(0) +
%( kernel_v < "2.6.31" %?
              __tcpmib_input_route_type_old(0)
%:
              __tcpmib_input_route_type_new(0)
%)
              )
}