diff options
author | Dave Barach <dave@barachs.net> | 2019-01-26 09:50:26 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-01-27 03:01:59 +0000 |
commit | 53fe4a79269671fd37bf8a1fbb147bcc99b04fab (patch) | |
tree | bc9f614004a9f51081f9a652a45b6fe51992ebf0 /src/plugins/perfmon/perfmon.h | |
parent | f23a885b892e432c7eac0f00c9e010fc21b6b211 (diff) |
perfmon: collect data on selected thread(s)
Add missing pre-input node runtime fork and refork code.
unix-epoll-input runs on all threads; each instance needs its own
runtime stats.
Change-Id: I16b02e42d0c95f863161176c4bb9f9917bef809d
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/perfmon/perfmon.h')
-rw-r--r-- | src/plugins/perfmon/perfmon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/perfmon/perfmon.h b/src/plugins/perfmon/perfmon.h index 9663dae36d1..9c4c34e36c1 100644 --- a/src/plugins/perfmon/perfmon.h +++ b/src/plugins/perfmon/perfmon.h @@ -121,6 +121,9 @@ typedef struct /* Current perf_event file descriptors, per thread */ int **pm_fds; + /* thread bitmap */ + uword *thread_bitmap; + /* Logging */ vlib_log_class_t log_class; |