Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
7d25d3a1
Commit
7d25d3a1
authored
Mar 16, 2015
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync stats order in vsc_all.h and vsc2rst.c by vsc_types.h
parent
6e3d77ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
25 deletions
+39
-25
vsc_all.h
include/tbl/vsc_all.h
+12
-12
vsc2rst.c
man/vsc2rst.c
+27
-13
No files found.
include/tbl/vsc_all.h
View file @
7d25d3a1
...
@@ -28,21 +28,21 @@
...
@@ -28,21 +28,21 @@
*/
*/
VSC_DO
(
MAIN
,
main
,
VSC_type_main
)
#include "tbl/vsc_f_main.h"
VSC_DONE
(
MAIN
,
main
,
VSC_type_main
)
VSC_DO
(
MGT
,
mgt
,
VSC_type_mgt
)
VSC_DO
(
MGT
,
mgt
,
VSC_type_mgt
)
#define VSC_DO_MGT
#define VSC_DO_MGT
#include "tbl/vsc_fields.h"
#include "tbl/vsc_fields.h"
#undef VSC_DO_MGT
#undef VSC_DO_MGT
VSC_DONE
(
MGT
,
mgt
,
VSC_type_mgt
)
VSC_DONE
(
MGT
,
mgt
,
VSC_type_mgt
)
VSC_DO
(
LCK
,
lck
,
VSC_type_lck
)
VSC_DO
(
MEMPOOL
,
mempool
,
VSC_type_mempool
)
#define VSC_DO_
LCK
#define VSC_DO_
MEMPOOL
#include "tbl/vsc_fields.h"
#include "tbl/vsc_fields.h"
#undef VSC_DO_LCK
#undef VSC_DO_MEMPOOL
VSC_DONE
(
LCK
,
lck
,
VSC_type_lck
)
VSC_DONE
(
MEMPOOL
,
mempool
,
VSC_type_mempool
)
VSC_DO
(
MAIN
,
main
,
VSC_type_main
)
#include "tbl/vsc_f_main.h"
VSC_DONE
(
MAIN
,
main
,
VSC_type_main
)
VSC_DO
(
SMA
,
sma
,
VSC_type_sma
)
VSC_DO
(
SMA
,
sma
,
VSC_type_sma
)
#define VSC_DO_SMA
#define VSC_DO_SMA
...
@@ -62,8 +62,8 @@ VSC_DO(VBE, vbe, VSC_type_vbe)
...
@@ -62,8 +62,8 @@ VSC_DO(VBE, vbe, VSC_type_vbe)
#undef VSC_DO_VBE
#undef VSC_DO_VBE
VSC_DONE
(
VBE
,
vbe
,
VSC_type_vbe
)
VSC_DONE
(
VBE
,
vbe
,
VSC_type_vbe
)
VSC_DO
(
MEMPOOL
,
mempool
,
VSC_type_mempool
)
VSC_DO
(
LCK
,
lck
,
VSC_type_lck
)
#define VSC_DO_
MEMPOOL
#define VSC_DO_
LCK
#include "tbl/vsc_fields.h"
#include "tbl/vsc_fields.h"
#undef VSC_DO_
MEMPOOL
#undef VSC_DO_
LCK
VSC_DONE
(
MEMPOOL
,
mempool
,
VSC_type_mempool
)
VSC_DONE
(
LCK
,
lck
,
VSC_type_lck
)
man/vsc2rst.c
View file @
7d25d3a1
...
@@ -66,43 +66,57 @@ int main(int argc, char **argv)
...
@@ -66,43 +66,57 @@ int main(int argc, char **argv)
#include "tbl/vsc_levels.h"
#include "tbl/vsc_levels.h"
P
(
""
);
P
(
""
);
P
(
"MAIN COUNTERS"
);
P
(
"MAIN COUNTERS
(MAIN.*)
"
);
P
(
"============="
);
P
(
"=============
=========
"
);
P
(
""
);
P
(
""
);
#include "tbl/vsc_f_main.h"
#include "tbl/vsc_f_main.h"
P
(
"MANAGEMENT PROCESS COUNTERS (MGT.*)"
);
P
(
"==================================="
);
P
(
""
);
P
(
""
);
P
(
"LOCK COUNTERS"
);
#define VSC_DO_MGT
P
(
"============="
);
#include "tbl/vsc_fields.h"
#undef VSC_DO_MGT
P
(
""
);
P
(
""
);
#define VSC_DO_LCK
P
(
"PER MEMORY POOL COUNTERS (MEMPOOL.*)"
);
P
(
"===================================="
);
P
(
""
);
#define VSC_DO_MEMPOOL
#include "tbl/vsc_fields.h"
#include "tbl/vsc_fields.h"
#undef VSC_DO_
LCK
#undef VSC_DO_
MEMPOOL
P
(
""
);
P
(
""
);
P
(
"PER MALLOC STORAGE COUNTERS"
);
P
(
"PER MALLOC STORAGE COUNTERS
(SMA.*)
"
);
P
(
"==========================="
);
P
(
"===========================
========
"
);
P
(
""
);
P
(
""
);
#define VSC_DO_SMA
#define VSC_DO_SMA
#include "tbl/vsc_fields.h"
#include "tbl/vsc_fields.h"
#undef VSC_DO_SMA
#undef VSC_DO_SMA
P
(
""
);
P
(
""
);
P
(
"PER FILE STORAGE COUNTERS"
);
P
(
"PER FILE STORAGE COUNTERS
(SMF.*)
"
);
P
(
"========================="
);
P
(
"=========================
========
"
);
P
(
""
);
P
(
""
);
#define VSC_DO_SMF
#define VSC_DO_SMF
#include "tbl/vsc_fields.h"
#include "tbl/vsc_fields.h"
#undef VSC_DO_SMF
#undef VSC_DO_SMF
P
(
""
);
P
(
""
);
P
(
"PER BACKEND COUNTERS"
);
P
(
"PER BACKEND COUNTERS
(VBE.*)
"
);
P
(
"===================="
);
P
(
"====================
========
"
);
P
(
""
);
P
(
""
);
#define VSC_DO_VBE
#define VSC_DO_VBE
#include "tbl/vsc_fields.h"
#include "tbl/vsc_fields.h"
#undef VSC_DO_VBE
#undef VSC_DO_VBE
P
(
""
);
P
(
"LOCK COUNTERS (LCK.*)"
);
P
(
"====================="
);
P
(
""
);
#define VSC_DO_LCK
#include "tbl/vsc_fields.h"
#undef VSC_DO_LCK
return
(
0
);
return
(
0
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment