Changeset cad43821ea8f313cdf28f0ac7531ab25a01a634f
- Timestamp:
- 01/30/10 20:57:40
(3 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1264885060 +0000
- git-parent:
[26c29f1454bd8b23d96b031bb7433ad98fbed718]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1264885060 +0000
- Message:
fixes #247
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8ad126b |
rcad4382 |
|
| 500 | 500 | while(noit_hash_next(&c->metrics, &iter, &k, &klen, &data)) { |
|---|
| 501 | 501 | char buff[256]; |
|---|
| | 502 | noit_boolean filtered; |
|---|
| 502 | 503 | noit_stats_snprint_metric(buff, sizeof(buff), (metric_t *)data); |
|---|
| 503 | | nc_printf(ncct, " %s\n", buff); |
|---|
| | 504 | filtered = !noit_apply_filterset(check->filterset, check, (metric_t *)data); |
|---|
| | 505 | nc_printf(ncct, " %c%s\n", filtered ? '*' : ' ', buff); |
|---|
| 504 | 506 | } |
|---|
| 505 | 507 | } |
|---|
| r75ee62d |
rcad4382 |
|
| 217 | 217 | */ |
|---|
| 218 | 218 | void *vfs; |
|---|
| 219 | | if(!filtersets || !filterset) return noit_true; |
|---|
| | 219 | if(!filterset) return noit_true; /* No filter */ |
|---|
| | 220 | if(!filtersets) return noit_false; /* Couldn't possibly match */ |
|---|
| 220 | 221 | |
|---|
| 221 | 222 | LOCKFS(); |
|---|
| … | … | |
| 236 | 237 | } |
|---|
| 237 | 238 | UNLOCKFS(); |
|---|
| 238 | | return noit_true; |
|---|
| | 239 | return noit_false; |
|---|
| 239 | 240 | } |
|---|
| 240 | 241 | |
|---|