diff options
author | Ray Kinsella <mdr@ashroe.eu> | 2021-03-10 15:12:02 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-04-01 13:07:09 +0000 |
commit | 7e3862927ec0fd92a1237a9b4286aaf410f34166 (patch) | |
tree | 242b9f604622270f830dc260e3edd0fc5e8d6296 /src/plugins/perfmon/perfmon.h | |
parent | 74a4a70efaa4a3af998cae32ff3612ad7a7fa879 (diff) |
perfmon: combined set and start command.
Original set, start, stop, reset, show etc interface was somewhat cumbersome, we
can improve slightly by combining set and start.
Type: improvement
Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
Change-Id: I7b865b2c29d2ab32adbd24d7f8a580da6990bb76
Diffstat (limited to 'src/plugins/perfmon/perfmon.h')
-rw-r--r-- | src/plugins/perfmon/perfmon.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/perfmon/perfmon.h b/src/plugins/perfmon/perfmon.h index c8b8cc47716..f24a23bd974 100644 --- a/src/plugins/perfmon/perfmon.h +++ b/src/plugins/perfmon/perfmon.h @@ -164,8 +164,7 @@ extern perfmon_main_t perfmon_main; perfmon_bundle_t __perfmon_bundle_##x void perfmon_reset (vlib_main_t *vm); -clib_error_t *perfmon_set (vlib_main_t *vm, perfmon_bundle_t *); -clib_error_t *perfmon_start (vlib_main_t *vm); +clib_error_t *perfmon_start (vlib_main_t *vm, perfmon_bundle_t *); clib_error_t *perfmon_stop (vlib_main_t *vm); #define PERFMON_STRINGS(...) \ |