diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/341.out | |
download | pcp-47e6e7c84f008a53061e661f31ae96629bc694ef.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/341.out')
-rw-r--r-- | qa/341.out | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/qa/341.out b/qa/341.out new file mode 100644 index 0000000..eb1952b --- /dev/null +++ b/qa/341.out @@ -0,0 +1,173 @@ +QA output created by 341 +load without save, store a couple and save ... +load() -> -2 No such file or directory +store(eek) -> 0 +store(urk) -> 1 +After cache_save hstate={DIRTY_INSTANCE} +pmdaCacheDump: indom 0.123: nentry=2 ins_mode=0 hstate=0 hsize=16 + 0 active (nil) eek + 1 active (nil) urk +save() -> 2 + +store one, load, store another couple and save ... +store(eek) -> 0 +After PMDA_CACHE_LOAD +pmdaCacheDump: indom 0.123: nentry=2 ins_mode=0 hstate=3 hsize=16 + 0 active (nil) eek + 1 inactive (nil) urk +load() -> 2 +store(urk) -> 1 +store(foo) -> 2 +After cache_save hstate={DIRTY_INSTANCE} +pmdaCacheDump: indom 0.123: nentry=3 ins_mode=0 hstate=0 hsize=16 + 0 active (nil) eek + 1 active (nil) urk + 2 active (nil) foo +save() -> 3 +pmdaCacheDump: indom 0.123: nentry=3 ins_mode=0 hstate=0 hsize=16 + 0 active (nil) eek + 1 active (nil) urk + 2 active (nil) foo +inst hash + [000] -> 0 + [001] -> 1 + [002] -> 2 + [003] + [004] + [005] + [006] + [007] + [008] + [009] + [010] + [011] + [012] + [013] + [014] + [015] +name hash + [000] + [001] + [002] + [003] + [004] + [005] + [006] -> 2 + [007] -> 1 + [008] -> 0 + [009] + [010] + [011] + [012] + [013] + [014] + [015] + +store some, hide some, load ... +store(eek) -> 0 +store(urk) -> 1 +store(foo) -> 2 +store(fumble mumble) -> 3 +hide(eek) -> 0 +hide(foo) -> 2 +store(bar) -> 4 +After PMDA_CACHE_LOAD +pmdaCacheDump: indom 0.123: nentry=5 ins_mode=0 hstate=3 hsize=16 + 0 inactive (nil) eek + 1 active (nil) urk + 2 inactive (nil) foo + 3 active (nil) fumble mumble [match len=6] + 4 active (nil) bar +load() -> 3 +pmdaCacheDump: indom 0.123: nentry=5 ins_mode=0 hstate=3 hsize=16 + 0 inactive (nil) eek + 1 active (nil) urk + 2 inactive (nil) foo + 3 active (nil) fumble mumble [match len=6] + 4 active (nil) bar +inst hash + [000] -> 0I + [001] -> 1 + [002] -> 2I + [003] -> 3 + [004] -> 4 + [005] + [006] + [007] + [008] + [009] + [010] + [011] + [012] + [013] + [014] + [015] +name hash + [000] + [001] + [002] + [003] + [004] + [005] -> 3 + [006] -> 2I + [007] -> 1 + [008] -> 0I + [009] + [010] + [011] -> 4 + [012] + [013] + [014] + [015] + +error case ... +store(urk a bit tricky) -> 0 +store(foo) -> 1 +pmdaCache: store: indom 0.123: instance 0 in cache, name "urk a bit tricky" does not match new entry "eek" +[DATE] pmdacache(PID) Warning: pmdaCacheOp: $PCP_VAR_DIR/config/pmda/0.123: loading instance 0 ("eek") ignored, already in cache as 0 ("urk a bit tricky") +pmdaCache: store: indom 0.123: instance 1 in cache, name "foo" does not match new entry "urk" +[DATE] pmdacache(PID) Warning: pmdaCacheOp: $PCP_VAR_DIR/config/pmda/0.123: loading instance 1 ("urk") ignored, already in cache as 1 ("foo") +pmdaCacheStoreKey: indom 0.123: instance "foo" in cache, id 1 does not match new entry 2 +[DATE] pmdacache(PID) Warning: pmdaCacheOp: $PCP_VAR_DIR/config/pmda/0.123: loading instance 2 ("foo") ignored, already in cache as 1 ("foo") +After PMDA_CACHE_LOAD +pmdaCacheDump: indom 0.123: nentry=2 ins_mode=0 hstate=3 hsize=16 + 0 active (nil) urk a bit tricky [match len=3] + 1 active (nil) foo +load() -> 3 +pmdaCacheDump: indom 0.123: nentry=2 ins_mode=0 hstate=3 hsize=16 + 0 active (nil) urk a bit tricky [match len=3] + 1 active (nil) foo +inst hash + [000] -> 0 + [001] -> 1 + [002] + [003] + [004] + [005] + [006] + [007] + [008] + [009] + [010] + [011] + [012] + [013] + [014] + [015] +name hash + [000] + [001] + [002] + [003] + [004] + [005] + [006] -> 1 + [007] -> 0 + [008] + [009] + [010] + [011] + [012] + [013] + [014] + [015] |