From 7176b800fa5570a14d9d403183131f5115158baf Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Mon, 16 Dec 2019 15:26:49 +0100 Subject: perfmon: fix per-worker data initialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When perfmon_init is called at initialization time worker threads are not created yet and vec_len(vlib_mains) returns 1. Initialize per-worker data when the number of workers is known, when enabling data collection instead. Type: fix Change-Id: I36887cc7b2a3e88d9728d3cd7262d9b1c968dd3c Signed-off-by: Benoît Ganne --- MAINTAINERS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'MAINTAINERS') diff --git a/MAINTAINERS b/MAINTAINERS index 32b8914a4cd..158d503f6f6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -426,6 +426,11 @@ I: marvell M: Damjan Marion F: src/plugins/marvell/ +Plugin - performance counter +I: perfmon +M: Dave Barach +F: src/plugins/perfmon/ + Plugin - PPPoE I: pppoe M: Hongjun Ni -- cgit 1.2.3-korg