<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 22/01/2019 16:25, Joonas Lahtinen
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:154817433953.8871.11566961163517410064@jlahtine-desk.ger.corp.intel.com">
      <pre class="moz-quote-pre" wrap="">Quoting Lionel Landwerlin (2019-01-16 17:36:22)
</pre>
      <blockquote type="cite" style="color: #000000;">
        <pre class="moz-quote-pre" wrap="">With the currently available parameters for the i915-perf stream,
there are still situations that are not well covered :

If an application opens the stream with polling disable or at very low
frequency and OA interrupt enabled, no data will be available even
though somewhere between nothing and half of the OA buffer worth of
data might have landed in memory.

To solve this issue we have a new flush ioctl on the perf stream that
forces the i915-perf driver to look at the state of the buffer when
called and makes any data available through both poll() & read() type
syscalls.

Signed-off-by: Lionel Landwerlin <a class="moz-txt-link-rfc2396E" href="mailto:lionel.g.landwerlin@intel.com" moz-do-not-send="true"><lionel.g.landwerlin@intel.com></a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">Link to userspace changes?

Regards, Joonas

</pre>
    </blockquote>
    <p>Trying to get them uploaded to a branch on
      <a class="moz-txt-link-freetext" href="https://github.com/intel/metrics-discovery">https://github.com/intel/metrics-discovery</a></p>
    <p>I'll let you know when it's available.</p>
    <p><br>
    </p>
    <p>-Lionel</p>
  </body>
</html>