Home
last modified time | relevance | path

Searched refs:fullpath (Results 1 – 1 of 1) sorted by relevance

/developtools/profiler/device/plugins/api/src/
Dplugin_watcher.cpp62 char fullpath[PATH_MAX + 1] = {0}; in ScanPlugins() local
63 realpath(pluginDir.c_str(), fullpath); in ScanPlugins()
64 HILOG_INFO(LOG_CORE, "%s:scan plugin from directory %s", __func__, fullpath); in ScanPlugins()
65 dir = opendir(fullpath); in ScanPlugins()
79 OnPluginAdded(std::string(fullpath) + '/' + fileName); in ScanPlugins()
89 char fullpath[PATH_MAX + 1] = {0}; in WatchPlugins() local
90 realpath(pluginDir.c_str(), fullpath); in WatchPlugins()
92 int wd = inotify_add_watch(inotifyFd_, fullpath, IN_ALL_EVENTS); in WatchPlugins()
97 HILOG_INFO(LOG_CORE, "%s:inotify_add_watch add directory %s success!", __func__, fullpath); in WatchPlugins()
99 wdToDir_.insert(std::pair<int, std::string>(wd, std::string(fullpath))); in WatchPlugins()