aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/main.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-05-01 11:30:13 -0400
committerFlorin Coras <florin.coras@gmail.com>2019-05-01 18:55:42 +0000
commit17e5d8031f385c8ede56c59bd50957f0ea6cd2ce (patch)
tree68d71437cc817873214ef0fbab9a18d1536ef113 /src/vlib/main.h
parent154a903a958ee6459ae1019883e6c4796b4cafc7 (diff)
Add node, frame to vlib main loop perf analysis callback arguments
Change-Id: Iaa5cd89791b0dfdb56a75009c564581d10696d83 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vlib/main.h')
-rw-r--r--src/vlib/main.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vlib/main.h b/src/vlib/main.h
index d2c42135d88..42f0c5196da 100644
--- a/src/vlib/main.h
+++ b/src/vlib/main.h
@@ -95,7 +95,9 @@ typedef struct vlib_main_t
/* Main loop hw / sw performance counters */
void (*vlib_node_runtime_perf_counter_cb) (struct vlib_main_t *,
- u64 *, u64 *);
+ u64 *, u64 *,
+ vlib_node_runtime_t *,
+ vlib_frame_t *, int);
/* Every so often we switch to the next counter. */
#define VLIB_LOG2_MAIN_LOOPS_PER_STATS_UPDATE 7