add python bindings

This commit is contained in:
jimmylomro
2022-03-15 21:35:11 +00:00
parent 358f445d9e
commit 257b576221
5 changed files with 141 additions and 2 deletions

View File

@@ -268,7 +268,7 @@ Process *getProcess(unsigned long inode, const char *devicename) {
if (proc != NULL)
return proc;
if ( !(pidsToWatch.empty()) && pidsToWatch.find(node->pid) == pidsToWatch.end() ) {
if ( !(pidsToWatch.empty()) && pidsToWatch.find(node->pid) == pidsToWatch.end() ) {
return NULL;
}
@@ -440,4 +440,3 @@ void remove_timed_out_processes() {
}
void garbage_collect_processes() { garbage_collect_inodeproc(); }