From 97472cb48e9425a17c1927698d8c1e5f0547f532 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 22 Jun 2004 19:40:37 +0000 Subject: [PATCH] stub proc_modules_get --- src/os/aix/aix_sigar.c | 6 ++++++ src/os/darwin/darwin_sigar.c | 6 ++++++ src/os/hpux/hpux_sigar.c | 6 ++++++ src/os/linux/linux_sigar.c | 6 ++++++ src/os/solaris/solaris_sigar.c | 6 ++++++ src/os/stub/stub_sigar.c | 6 ++++++ 6 files changed, 36 insertions(+) diff --git a/src/os/aix/aix_sigar.c b/src/os/aix/aix_sigar.c index dfbec4e7..b9cb9e78 100644 --- a/src/os/aix/aix_sigar.c +++ b/src/os/aix/aix_sigar.c @@ -822,6 +822,12 @@ int sigar_proc_exe_get(sigar_t *sigar, sigar_pid_t pid, return SIGAR_ENOTIMPL; } +int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_modules_t *procmods) +{ + return SIGAR_ENOTIMPL; +} + int sigar_os_fs_type_get(sigar_file_system_t *fsp) { return fsp->type; diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index d829b3e3..f7debbc5 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -510,6 +510,12 @@ int sigar_proc_exe_get(sigar_t *sigar, sigar_pid_t pid, return SIGAR_ENOTIMPL; } +int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_modules_t *procmods) +{ + return SIGAR_ENOTIMPL; +} + int sigar_os_fs_type_get(sigar_file_system_t *fsp) { char *type = fsp->sys_type_name; diff --git a/src/os/hpux/hpux_sigar.c b/src/os/hpux/hpux_sigar.c index 252bda43..bd84a726 100644 --- a/src/os/hpux/hpux_sigar.c +++ b/src/os/hpux/hpux_sigar.c @@ -437,6 +437,12 @@ int sigar_proc_exe_get(sigar_t *sigar, sigar_pid_t pid, return SIGAR_ENOTIMPL; } +int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_modules_t *procmods) +{ + return SIGAR_ENOTIMPL; +} + #include int sigar_os_fs_type_get(sigar_file_system_t *fsp) diff --git a/src/os/linux/linux_sigar.c b/src/os/linux/linux_sigar.c index c91bdf1f..f271c7e7 100644 --- a/src/os/linux/linux_sigar.c +++ b/src/os/linux/linux_sigar.c @@ -837,6 +837,12 @@ int sigar_proc_exe_get(sigar_t *sigar, sigar_pid_t pid, return SIGAR_OK; } +int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_modules_t *procmods) +{ + return SIGAR_ENOTIMPL; +} + #include #include diff --git a/src/os/solaris/solaris_sigar.c b/src/os/solaris/solaris_sigar.c index 6da7808d..38f983bb 100644 --- a/src/os/solaris/solaris_sigar.c +++ b/src/os/solaris/solaris_sigar.c @@ -651,6 +651,12 @@ int sigar_proc_exe_get(sigar_t *sigar, sigar_pid_t pid, return SIGAR_ENOTIMPL; } +int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_modules_t *procmods) +{ + return SIGAR_ENOTIMPL; +} + #include int sigar_os_fs_type_get(sigar_file_system_t *fsp) diff --git a/src/os/stub/stub_sigar.c b/src/os/stub/stub_sigar.c index f5ec0c83..f7187492 100644 --- a/src/os/stub/stub_sigar.c +++ b/src/os/stub/stub_sigar.c @@ -164,6 +164,12 @@ int sigar_proc_exe_get(sigar_t *sigar, sigar_pid_t pid, return SIGAR_ENOTIMPL; } +int sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid, + sigar_proc_modules_t *procmods) +{ + return SIGAR_ENOTIMPL; +} + int sigar_os_fs_type_get(sigar_file_system_t *fsp) { fsp->type = SIGAR_FSTYPE_UNKNOWN;