summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorLyude Paul <lyude@redhat.com>2019-04-23 18:50:56 -0400
committerLyude Paul <lyude@redhat.com>2019-05-07 17:37:56 -0400
commit998288337d87b9fac8ae3a2f06ee97bfa9bfdfa3 (patch)
tree01cf7f5109a92232da85b3ff50343b3106c31dc6 /benchmarks
parent71a46ea98a946437993b16b1cb2433f85d19a94e (diff)
Use gettid() wrapper everywhere
Currently we have multiple different parts of IGT that define their own wrapper around the gettid() syscall (or just call it directly with no wrapper). Additionally, add the appropriate #includes for igt_aux.h to make sure syscall() is available. Reviewed-by: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/gem_syslatency.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/benchmarks/gem_syslatency.c b/benchmarks/gem_syslatency.c
index ba5d32a9..7671dc43 100644
--- a/benchmarks/gem_syslatency.c
+++ b/benchmarks/gem_syslatency.c
@@ -44,7 +44,6 @@
#include <linux/unistd.h>
-#define gettid() syscall(__NR_gettid)
#define sigev_notify_thread_id _sigev_un._tid
static volatile int done;