]> sourceware.org Git - systemtap.git/commit
monitor mode: remove pipe
authorFelix Lu <flu@redhat.com>
Fri, 29 Apr 2016 19:50:29 +0000 (15:50 -0400)
committerFelix Lu <flu@redhat.com>
Mon, 2 May 2016 15:05:06 +0000 (11:05 -0400)
commitc483db11a149a0a4b4b339abb5689e5b132d66a4
tree13874ebe86aab52f74a9575e72be92e6dbfb9231
parentc30ff776c9e5e8dd8bc9720df9b597f61f43fef5
monitor mode: remove pipe

Save output to monitor ring buffer directly instead of sending it
through a pipe.

* staprun/mainloop.c: remove pipe fd from fd set
* staprun/monitor.c: remove pipe data processing, add mutex for ring
  buffer
* staprun/relay.c:
  reader_thread - add line processing logic
  init_relayfs - remove pipe
* staprun/staprun.h - remove pipe
staprun/mainloop.c
staprun/monitor.c
staprun/relay.c
staprun/staprun.h
This page took 0.02782 seconds and 5 git commands to generate.