commit | a65536ca4ebac0b016f9dcfd905c0431fca597f5 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jul 22 22:40:11 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Aug 01 21:17:13 2013 +0200 |
tree | ac9972c62540b0f0a41364025962acd0e71966c5 | |
parent | 88821241d460fae569f4d423eebc21ca4dfb9e44 [diff] |
MINOR: counters: provide a generic function to retrieve a stkctr for sc* and src. This function aims at simplifying the prefetching of the table and entry when using any of the session counters fetches. The principle is that the src_* variant produces a stkctr that is used instead of the one from the session. That way we can call the same function from all session counter fetch functions and always have a single function to support sc[0-9]_/src_.