]> 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)
commit901c88d244e596abf6f5e7e5763f824a4220ec71
tree124eac15d75e16dd028c3b754316a1c386ff1604
parent375b2b8d6db6ebae2fefc9f679a3c5a5ff7b7db5
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: 0cede1b4766e ("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