Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent3
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