Home
last modified time | relevance | path

Searched refs:inotifyFd_ (Results 1 - 2 of 2) sorted by relevance

/developtools/profiler/device/plugins/api/src/
H A Dplugin_watcher.cpp35 : inotifyFd_(-1), pluginManager_(pluginManager), runMonitor_(true) in PluginWatcher()
37 inotifyFd_ = inotify_init1(IN_CLOEXEC | IN_NONBLOCK); in PluginWatcher()
38 if (inotifyFd_ < 0) { in PluginWatcher()
39 PROFILER_LOG_INFO(LOG_CORE, "%s:inotify_init1 failed! inotifyFd_ : %d", __func__, inotifyFd_); in PluginWatcher()
49 inotify_rm_watch(inotifyFd_, it->first); in ~PluginWatcher()
52 if (inotifyFd_ != -1) { in ~PluginWatcher()
53 close(inotifyFd_); in ~PluginWatcher()
92 int wd = inotify_add_watch(inotifyFd_, fullpath, IN_ALL_EVENTS); in WatchPlugins()
109 ssize_t readLength = read(inotifyFd_, buffe in MonitorIsSet()
[all...]
H A Dplugin_watcher.h38 int inotifyFd_; member in PluginWatcher

Completed in 1 milliseconds