event/reactor: fix bug when showing core state
It should print "intr" when target->in_interrupt==1. Change-Id: I74479da1dc66d937899fdf5c619cdf1a09951918 Signed-off-by: Richael Zhuang <richael.zhuang@arm.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7857 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
861bf2d1c3
commit
c07a6a949b
@ -394,7 +394,7 @@ _reactor_set_interrupt_mode(void *arg1, void *arg2)
|
||||
assert(target != NULL);
|
||||
assert(target->in_interrupt != target->new_in_interrupt);
|
||||
SPDK_DEBUGLOG(reactor, "Do reactor set on core %u from %s to state %s\n",
|
||||
target->lcore, !target->in_interrupt ? "intr" : "poll", target->new_in_interrupt ? "intr" : "poll");
|
||||
target->lcore, target->in_interrupt ? "intr" : "poll", target->new_in_interrupt ? "intr" : "poll");
|
||||
|
||||
target->in_interrupt = target->new_in_interrupt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user