From 98c1392db062712a6db31ae596a46706e74a8132 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 7 Jul 2006 00:18:23 +0000 Subject: [PATCH] add netinterface wrapper --- src/os/aix/perfstat/sigar_perfstat.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/os/aix/perfstat/sigar_perfstat.c b/src/os/aix/perfstat/sigar_perfstat.c index 58b80d63..af44e3aa 100644 --- a/src/os/aix/perfstat/sigar_perfstat.c +++ b/src/os/aix/perfstat/sigar_perfstat.c @@ -35,6 +35,14 @@ int sigar_perfstat_disk(perfstat_id_t *id, return perfstat_disk(id, disk, size, num); } +int sigar_perfstat_netinterface(perfstat_id_t *id, + perfstat_netinterface_t *netinterface) + +{ + return perfstat_netinterface(id, netinterface, + sizeof(*netinterface), 1); +} + /* * not a perfstat function, but from libpthreads.a * requires the same tricks to link on 4.3 and run on 5.2