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)
commita1bd06853ee478d37fae9435c5521e301de94c67
tree124eac15d75e16dd028c3b754316a1c386ff1604
parent4da9f3302615f4191814f826054846bf843e24fa
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: 9d246053a691 ("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