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
f4ee973b
Commit
f4ee973b
authored
May 26, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Join the long-doc strings with "\n"
parent
fd55b85c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
9 deletions
+8
-9
lck.vsc
bin/varnishd/lck.vsc
+1
-1
mempool.vsc
bin/varnishd/mempool.vsc
+1
-1
mgt.vsc
bin/varnishd/mgt.vsc
+1
-2
sma.vsc
bin/varnishd/sma.vsc
+1
-1
smf.vsc
bin/varnishd/smf.vsc
+1
-1
vbe.vsc
bin/varnishd/vbe.vsc
+1
-1
vsctool.py
lib/libvcc/vsctool.py
+2
-2
No files found.
bin/varnishd/lck.vsc
View file @
f4ee973b
...
...
@@ -6,7 +6,7 @@
XXX: include/tbl/vsc_fields.h
.. varnish_vsc_begin:: lck
:oneliner: L
OCK COUNTERS (LCK.*)
:oneliner: L
ock Counters
.. varnish_vsc:: creat
:type: counter
...
...
bin/varnishd/mempool.vsc
View file @
f4ee973b
...
...
@@ -6,7 +6,7 @@
XXX: include/tbl/vsc_fields.h
.. varnish_vsc_begin:: mempool
:oneliner: M
EMORY POOL COUNTERS (MEMPOOL.*)
:oneliner: M
emory Pool Counters
.. varnish_vsc:: live
:type: gauge
...
...
bin/varnishd/mgt.vsc
View file @
f4ee973b
...
...
@@ -6,8 +6,7 @@
XXX: include/tbl/vsc_fields.h
.. varnish_vsc_begin:: mgt
:class: MGT
:oneliner: MANAGEMENT PROCESS COUNTERS (MGT.*)
:oneliner: Management Process Counters
.. varnish_vsc:: uptime
:type: counter
...
...
bin/varnishd/sma.vsc
View file @
f4ee973b
...
...
@@ -6,7 +6,7 @@
XXX: include/tbl/vsc_fields.h
.. varnish_vsc_begin:: sma
:oneliner: M
ALLOC STORAGE COUNTERS (SMA.*)
:oneliner: M
alloc Stevedore Counters
.. varnish_vsc:: c_req
:type: counter
...
...
bin/varnishd/smf.vsc
View file @
f4ee973b
...
...
@@ -6,7 +6,7 @@
XXX: include/tbl/vsc_fields.h
.. varnish_vsc_begin:: smf
:oneliner: F
ILE STORAGE COUNTERS (SMF.*)
:oneliner: F
ile Stevedore Counters
.. varnish_vsc:: c_req
:type: counter
...
...
bin/varnishd/vbe.vsc
View file @
f4ee973b
...
...
@@ -6,7 +6,7 @@
XXX: include/tbl/vsc_fields.h
.. varnish_vsc_begin:: vbe
:oneliner: B
ACKEND COUNTERS (VBE.*)
:oneliner: B
ackend Counters
.. varnish_vsc:: happy
:type: bitmap
...
...
lib/libvcc/vsctool.py
View file @
f4ee973b
...
...
@@ -74,7 +74,7 @@ class vscset(object):
dd
[
"version"
]
=
"1"
dd
[
"name"
]
=
self
.
name
dd
[
"1line"
]
=
self
.
head
.
param
[
"oneliner"
]
.
strip
()
dd
[
"docs"
]
=
self
.
head
.
getdoc
(
)
dd
[
"docs"
]
=
"
\n
"
.
join
(
self
.
head
.
getdoc
()
)
dd
[
"elements"
]
=
len
(
self
.
mbrs
)
el
=
collections
.
OrderedDict
()
dd
[
"elem"
]
=
el
...
...
@@ -88,7 +88,7 @@ class vscset(object):
ed
[
"type"
]
=
i
.
param
[
"type"
]
ed
[
"level"
]
=
i
.
param
[
"level"
]
ed
[
"1line"
]
=
i
.
param
[
"oneliner"
]
.
strip
()
ed
[
"docs"
]
=
i
.
getdoc
(
)
ed
[
"docs"
]
=
"
\n
"
.
join
(
i
.
getdoc
()
)
s
=
json
.
dumps
(
dd
,
separators
=
(
","
,
":"
))
+
"
\0
"
fo
.
write
(
"
\n
static const size_t vsc_
%
s_jsonlen =
%
dL;
\n
"
%
(
self
.
name
,
len
(
s
)))
...
...
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