From 203a4bbd08c11ef32ea86d391526a9432f785741 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 15 Jul 2007 16:12:09 +0000 Subject: [PATCH] add more perfstat wrappers --- src/os/aix/perfstat/sigar_perfstat.c | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/os/aix/perfstat/sigar_perfstat.c b/src/os/aix/perfstat/sigar_perfstat.c index 5e0d7815..7a6c0430 100644 --- a/src/os/aix/perfstat/sigar_perfstat.c +++ b/src/os/aix/perfstat/sigar_perfstat.c @@ -45,6 +45,14 @@ int sigar_perfstat_pagingspace(perfstat_id_t *id, return perfstat_pagingspace(id, pagingspace, size, num); } +int sigar_perfstat_memory_total(perfstat_id_t *id, + perfstat_memory_total_t *memory, + size_t size, + int num) +{ + return perfstat_memory_total(id, memory, size, num); +} + int sigar_perfstat_disk(perfstat_id_t *id, perfstat_disk_t *disk, size_t size, @@ -53,6 +61,22 @@ int sigar_perfstat_disk(perfstat_id_t *id, return perfstat_disk(id, disk, size, num); } +int sigar_perfstat_diskadapter(perfstat_id_t *id, + perfstat_diskadapter_t *adapter, + size_t size, + int num) +{ + return perfstat_diskadapter(id, adapter, size, num); +} + +int sigar_perfstat_diskpath(perfstat_id_t *id, + perfstat_diskpath_t *diskpath, + size_t size, + int num) +{ + return perfstat_diskpath(id, diskpath, size, num); +} + int sigar_perfstat_netinterface(perfstat_id_t *id, perfstat_netinterface_t *netinterface) @@ -61,6 +85,22 @@ int sigar_perfstat_netinterface(perfstat_id_t *id, sizeof(*netinterface), 1); } +int sigar_perfstat_netbuffer(perfstat_id_t *id, + perfstat_netbuffer_t *netbuffer, + size_t size, + int num) +{ + return perfstat_netbuffer(id, netbuffer, size, num); +} + +int sigar_perfstat_protocol(perfstat_id_t *id, + perfstat_protocol_t *proto, + int size, + int num) +{ + return perfstat_protocol(id, proto, size, num); +} + /* * not a perfstat function, but from libpthreads.a * requires the same tricks to link on 4.3 and run on 5.2