perf bench futex: Support operations for shared futexes
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 29 Sep 2014 16:41:07 +0000 (09:41 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 29 Sep 2014 18:43:21 +0000 (15:43 -0300)
commit86c87e13f8a5dffc6cc7b0f37340f815dc172945
tree4f391df8bf01d696425805dac591696ea9f4471a
parent2c82c3ad56921c47f28af9eb8ed96b6d99b47623
perf bench futex: Support operations for shared futexes

Unlike futex-hash, requeuing and wakeup benchmarks do not support shared
futexes, limiting the usefulness of the programs. Correct this, and
allow using the local -S parameter. The default remains using private
futexes.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Davidlohr Bueso <dbueso@suse.de>
Link: http://lkml.kernel.org/r/1412008868-22328-1-git-send-email-dave@stgolabs.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/bench/futex-hash.c
tools/perf/bench/futex-requeue.c
tools/perf/bench/futex-wake.c