system-monitor: initial support for process watches.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Fri, 12 Sep 2014 11:59:29 +0000 (14:59 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:17 +0000 (18:37 +0200)
commit21031ac6878e8315fe3862698799141fa309cfd1
tree84b4287444127501d06ffefe1c818bad6bdc5398
parent8253c008c9140a4adb0ed1247aba615128da23c7
system-monitor: initial support for process watches.

This patch adds support for process tracking in the form of
process watches. Using a process watch on can get a notification
callback when an event of interest (fork, exec, exit, identity
change, etc.) happens in the tracked process.

Process watches relay on the low-level process watch interface
offered by the common Murphy libraries, which in turn rely in the
kernels process connector event support.

Change-Id: Ieeb2fc955a9b3f67054c28f5e1632ed236729f52
src/Makefile.am
src/plugins/system-monitor/process-watch.c [new file with mode: 0644]
src/plugins/system-monitor/process-watch.h [new file with mode: 0644]
src/plugins/system-monitor/system-monitor.c
src/plugins/system-monitor/system-monitor.h