mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
path: show more path details in log
This commit is contained in:
parent
06d279515e
commit
de860087b7
1 changed files with 10 additions and 1 deletions
11
lib/path.c
11
lib/path.c
|
@ -424,7 +424,16 @@ int path_start(struct path *p)
|
|||
|
||||
assert(p->state == STATE_CHECKED);
|
||||
|
||||
info("Starting path %s: enabled=%s, queuelen=%d, #hooks=%zu, #sources=%zu, #destinations=%zu", path_name(p), p->enabled ? "yes": "no", p->queuelen, list_length(&p->hooks), list_length(&p->sources), list_length(&p->destinations));
|
||||
info("Starting path %s: enabled=%s, reversed=%s, queuelen=%d, samplelen=%d, #hooks=%zu, #sources=%zu, #destinations=%zu",
|
||||
path_name(p),
|
||||
p->enabled ? "yes": "no",
|
||||
p->reverse ? "yes": "no",
|
||||
p->queuelen,
|
||||
p->samplelen,
|
||||
list_length(&p->hooks),
|
||||
list_length(&p->sources),
|
||||
list_length(&p->destinations)
|
||||
);
|
||||
|
||||
for (size_t i = 0; i < list_length(&p->hooks); i++) {
|
||||
struct hook *h = list_at(&p->hooks, i);
|
||||
|
|
Loading…
Add table
Reference in a new issue