summaryrefslogtreecommitdiffstats
path: root/tapset/perfmon.stp
blob: 3ed2185652f4f99a03cae3fbe52fed9ae5937a07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// perfmon 
// Copyright (C) 2006 Red Hat Inc.
//
// This file is part of systemtap, and is free software.  You can
// redistribute it and/or modify it under the terms of the GNU General
// Public License (GPL); either version 2, or (at your option) any
// later version.

// timeout (TCP_RTO_MAX)
function read_counter:long(handle:long)
%{
        THIS->__retvalue = _stp_perfmon_read(_pfm_desc, THIS->handle);
%}