diff options
author | Maxime Peim <mpeim@cisco.com> | 2023-03-16 16:10:00 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-04-25 15:21:25 +0000 |
commit | 2eb8d1ae0cdead73e1a4731ece67933c2bc171bb (patch) | |
tree | aaba282c9f943767de9b087b7ed463190649ae5a /src/vnet | |
parent | cada0c5075ebf4c59db3192f190b35bf588fac34 (diff) |
perfmon: fix perfmon start type argument
When trying to start perfmon with a bundle that has a unique type while
specifying that type as argument, the command fails
(e.g. perfmon start bundle branch-mispred type node).
This error occurs because the returned value of
unformat_perfmon_active_type is actually a perfmon_bundle_type_t, but
it was treated as a perfmon_bundle_type_flag_t by a test in the CLI
function.
However, this test is useless and thus can just be removed.
Type: fix
Signed-off-by: Maxime Peim <mpeim@cisco.com>
Change-Id: I5d8b9815871621e8ee7b935586f4cedbc0e7a53d
Diffstat (limited to 'src/vnet')
0 files changed, 0 insertions, 0 deletions