]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Fix use of count for nr_running tracepoint
authorPhil Auld <pauld@redhat.com>
Wed, 5 Aug 2020 20:31:38 +0000 (16:31 -0400)
committerIngo Molnar <mingo@kernel.org>
Thu, 6 Aug 2020 07:36:59 +0000 (09:36 +0200)
commitb05eecb71e1a1fb0ad18a4d6b917479db1ee49bc
tree124eac15d75e16dd028c3b754316a1c386ff1604
parent7bf2fc3404c4a68d7c80b695c345e22c43b97fc9
sched: Fix use of count for nr_running tracepoint

The count field is meant to tell if an update to nr_running
is an add or a subtract. Make it do so by adding the missing
minus sign.

Fixes: 3457d80bce76 ("sched: Add a tracepoint to track rq->nr_running")
Signed-off-by: Phil Auld <pauld@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200805203138.1411-1-pauld@redhat.com
kernel/sched/sched.h