pass: resmon: Add uevent-based resource monitor
Resource-Monitor provides two monitoring method as following:
- Timer-based resource monitor like polling method. There are both oneshot
and periodic timer and it requires the interval as the mandatory.
- Uevent-based resource monitor like interrupt method. It notifies the result
of monitoring when receiving the uevent from Kernel.
Add the support of uevent-based resource monitor which uses the libudev.h
library in order to handle the uevent from kernel.
[Function description]
- Uevent-based resource monitor
int pass_resmon_register_uevent()
int pass_resmon_unregister_uevent()
Change-Id: I3c9362298f5e096600989d5aaa2c6720346b9c5c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>