Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include Work around broken SDT_PROBE* ...



details:   https://anonhg.NetBSD.org/src/rev/db14b6f40c7e
branches:  trunk
changeset: 366404:db14b6f40c7e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 15:25:28 2018 +0000

description:
Work around broken SDT_PROBE* in !KDTRACE_HOOKS until we merge HEAD.

diffstat:

 sys/external/bsd/drm2/include/i915_trace.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 195233351dad -r db14b6f40c7e sys/external/bsd/drm2/include/i915_trace.h
--- a/sys/external/bsd/drm2/include/i915_trace.h        Mon Aug 27 15:25:13 2018 +0000
+++ b/sys/external/bsd/drm2/include/i915_trace.h        Mon Aug 27 15:25:28 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_trace.h,v 1.13 2018/08/27 15:09:35 riastradh Exp $        */
+/*     $NetBSD: i915_trace.h,v 1.14 2018/08/27 15:25:28 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -259,10 +259,11 @@
 {
        if (!trace)
                return;
-       if (write)
+       if (write) {
                TRACE3(i915,, register__read,  reg, value, len);
-       else
+       } else {
                TRACE3(i915,, register__write,  reg, value, len);
+       }
 }
 
 DEFINE_TRACE5(i915,, vma__bind,



Home | Main Index | Thread Index | Old Index