1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

hook: enable mapping of stats in "map" hook

This commit is contained in:
Steffen Vogel 2017-08-31 09:42:58 +02:00
parent e7da1e0a0e
commit 0a2777ad8d

View file

@ -89,7 +89,7 @@ static int map_read(struct hook *h, struct sample *smps[], unsigned *cnt)
tmp[i]->format = 0;
tmp[i]->length = 0;
mapping_remap(&p->mapping, tmp[i], smps[i], NULL);
mapping_remap(&p->mapping, tmp[i], smps[i], p->stats);
SWAP(smps[i], tmp[i]);
}