linux/tools/perf/bench
Davidlohr Bueso 598adc5c9c perf bench futex: Handle spurious wakeups
Wrap futex_wait around a loop and catch for EINTR.

Either a spurious wakeup occurred or a signal interrupted is, either way
we need to block again.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Davidlohr Bueso <dbueso@suse.de>
Link: http://lkml.kernel.org/r/1431110280-20231-2-git-send-email-dave@stgolabs.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-05-08 16:24:02 -03:00
..
bench.h perf bench futex: Support parallel waker threads 2015-05-08 16:23:50 -03:00
Build perf bench futex: Support parallel waker threads 2015-05-08 16:23:50 -03:00
futex-hash.c perf bench futex: Support operations for shared futexes 2014-09-29 15:43:21 -03:00
futex-requeue.c perf bench futex: Sanitize -q option in requeue 2014-09-29 15:43:26 -03:00
futex-wake-parallel.c perf bench futex: Support parallel waker threads 2015-05-08 16:23:50 -03:00
futex-wake.c perf bench futex: Handle spurious wakeups 2015-05-08 16:24:02 -03:00
futex.h perf tools: Provide stub for missing pthread_attr_setaffinity_np 2015-01-28 12:43:32 -03:00
mem-memcpy-arch.h tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
mem-memcpy-x86-64-asm-def.h perf/bench: Fix mem* routines usage after alternatives change 2015-03-03 18:01:10 +01:00
mem-memcpy-x86-64-asm.S perf/bench: Fix mem* routines usage after alternatives change 2015-03-03 18:01:10 +01:00
mem-memcpy.c A more involved rework of the alternatives framework to be able to 2015-03-04 06:36:15 +01:00
mem-memset-arch.h tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
mem-memset-x86-64-asm-def.h perf/bench: Fix mem* routines usage after alternatives change 2015-03-03 18:01:10 +01:00
mem-memset-x86-64-asm.S perf/bench: Fix mem* routines usage after alternatives change 2015-03-03 18:01:10 +01:00
numa.c perf bench numa: Show more stats of particular threads in verbose mode 2015-05-04 12:43:41 -03:00
sched-messaging.c perf tools: Don't include sys/poll.h directly 2014-09-17 17:08:09 -03:00
sched-pipe.c perf tools: Avoid build splat for syscall numbers with uclibc 2015-01-16 17:49:29 -03:00