<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi all,<br>
    <p>When there is some small packet sent from STM to ETR, the small
      packet could be stuck between source<br>
      and sink even if manual flush is set when disable ETR.<br>
      So there is requirement that flush the STM trace periodically
      after enabling STM to ETR.</p>
    <p><span><span class="ui-provider wk b c d e f g h i j k l m n o p q
          r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr">STM
          can generate TRIG_TS packet by writing to offset 0xF0 of the
          driver STM stimulus port. <br>
          ETR has ability to initiate a flush on seeing a TRIG_TS
          packet. <br>
          <br>
          For this requirement, I want to create a sysfs node like
          trig_ts for STM.<br>
          When writing 1 to this sysfs node, </span></span><span><span
          class="ui-provider wk b c d e f g h i j k l m n o p q r s t u
          v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"> a timer with
          1 second periodicity in STM will start to generate the trig_ts
          packet to ETR.<br>
          Once ETR receive the TRIG_TS packet, it will initiate a flush.<br>
          <br>
          Could you please help to provide your comments on this
          requirement ?<br>
          <br>
          Thanks<br>
          Jinlong Mao<br>
        </span></span></p>
  </body>
</html>