diff options
author | Przemyslaw Patynowski <[email protected]> | 2022-06-15 13:57:20 -0400 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-07-18 09:36:40 -0700 |
commit | d8fa2fd791a72087c1ce3336fbeefec4057c37c8 (patch) | |
tree | 5c30579de6566ac38c04278ef981ba99c97621c4 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | a9f49e0060301a9bfebeca76739158d0cf91cdf6 (diff) |
iavf: Fix missing state logs
Fix debug prints, by adding missing state prints.
Extend iavf_state_str by strings for __IAVF_INIT_EXTENDED_CAPS and
__IAVF_INIT_CONFIG_ADAPTER.
Without this patch, when enabling debug prints for iavf.h, user will
see:
iavf 0000:06:0e.0: state transition from:__IAVF_INIT_GET_RESOURCES to:__IAVF_UNKNOWN_STATE
iavf 0000:06:0e.0: state transition from:__IAVF_UNKNOWN_STATE to:__IAVF_UNKNOWN_STATE
Fixes: 605ca7c5c670 ("iavf: Fix kernel BUG in free_msi_irqs")
Signed-off-by: Przemyslaw Patynowski <[email protected]>
Signed-off-by: Jun Zhang <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions