From 0f86d5976e6152f94cf8245a9d16f671dbaa9671 Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Tue, 10 Oct 2017 08:39:07 +0100 Subject: lib/perf: Fix data types and general tidy Configuration and format are uint64_t in the perf API. Tidy some other details as well. Signed-off-by: Tvrtko Ursulin Reviewed-by: Chris Wilson --- lib/igt_perf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/igt_perf.h') diff --git a/lib/igt_perf.h b/lib/igt_perf.h index 8e674c3a..cc10cb30 100644 --- a/lib/igt_perf.h +++ b/lib/igt_perf.h @@ -62,7 +62,7 @@ perf_event_open(struct perf_event_attr *attr, } uint64_t i915_type_id(void); -int perf_i915_open(int config); -int perf_i915_open_group(int config, int group); +int perf_i915_open(uint64_t config); +int perf_i915_open_group(uint64_t config, int group); #endif /* I915_PERF_H */ -- cgit v1.2.3