diff options
| author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-14 08:18:09 +0000 |
|---|---|---|
| committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-14 08:18:09 +0000 |
| commit | 6e12e952ca77bc17dbd543aa930608474f80b18f (patch) | |
| tree | 239addb3f95b56e600b278d38954bf92553b0570 /src/libs | |
| parent | 2a12f2bb704fd9b5777e0c06499874f2cfddbcb7 (diff) | |
| download | zabbix-6e12e952ca77bc17dbd543aa930608474f80b18f.tar.gz zabbix-6e12e952ca77bc17dbd543aa930608474f80b18f.tar.xz zabbix-6e12e952ca77bc17dbd543aa930608474f80b18f.zip | |
- [DEV-163] added support of perf_counter[path<,period>]
[Windows binaries]
git-svn-id: svn://svn.zabbix.com/trunk@5701 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs')
| -rw-r--r-- | src/libs/zbxsysinfo/win32/pdhmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxsysinfo/win32/pdhmon.c b/src/libs/zbxsysinfo/win32/pdhmon.c index 9428ed61..cc95838b 100644 --- a/src/libs/zbxsysinfo/win32/pdhmon.c +++ b/src/libs/zbxsysinfo/win32/pdhmon.c @@ -90,7 +90,7 @@ int PERF_MONITOR(const char *cmd, const char *param, unsigned flags, AGENT_RESUL } for (perfs = collector->perfs.pPerfCounterList; perfs != NULL; perfs = perfs->next) { - if (0 == strcmp(perfs->counter_path, counter_path) && perfs->interval == interval) { + if (0 == strcmp(perfs->counterPath, counter_path) && perfs->interval == interval) { SET_DBL_RESULT(result, perfs->lastValue); return SYSINFO_RET_OK; } |
