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
ae07042e
Commit
ae07042e
authored
Aug 15, 2011
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
Aug 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ifdef the OFOF development tool
parent
add1d82b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cache_cli.c
bin/varnishd/cache_cli.c
+3
-0
No files found.
bin/varnishd/cache_cli.c
View file @
ae07042e
...
@@ -140,6 +140,7 @@ cli_debug_sizeof(struct cli *cli, const char * const *av, void *priv)
...
@@ -140,6 +140,7 @@ cli_debug_sizeof(struct cli *cli, const char * const *av, void *priv)
SZOF
(
struct
vbc
);
SZOF
(
struct
vbc
);
SZOF
(
struct
VSC_C_main
);
SZOF
(
struct
VSC_C_main
);
SZOF
(
struct
lock
);
SZOF
(
struct
lock
);
#if 0
#define OFOF(foo, bar) { foo __foo; VCLI_Out(cli, \
#define OFOF(foo, bar) { foo __foo; VCLI_Out(cli, \
"%-30s = 0x%4zx @ 0x%4zx\n", \
"%-30s = 0x%4zx @ 0x%4zx\n", \
#foo "." #bar, sizeof(__foo.bar), offsetof(foo, bar)); }
#foo "." #bar, sizeof(__foo.bar), offsetof(foo, bar)); }
...
@@ -199,6 +200,8 @@ cli_debug_sizeof(struct cli *cli, const char * const *av, void *priv)
...
@@ -199,6 +200,8 @@ cli_debug_sizeof(struct cli *cli, const char * const *av, void *priv)
OFOF(struct object, esidata);
OFOF(struct object, esidata);
OFOF(struct object, last_use);
OFOF(struct object, last_use);
#endif
#endif
#undef OFOF
#endif
}
}
/*--------------------------------------------------------------------*/
/*--------------------------------------------------------------------*/
...
...
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