mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: add API to lookup a process by PID
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
#include "sysprof-callgraph.h"
|
||||
#include "sysprof-document-counter.h"
|
||||
#include "sysprof-document-file.h"
|
||||
#include "sysprof-document-process.h"
|
||||
#include "sysprof-document-traceable.h"
|
||||
#include "sysprof-mark-catalog.h"
|
||||
#include "sysprof-symbol.h"
|
||||
@ -47,6 +48,9 @@ SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofDocumentFile *sysprof_document_lookup_file (SysprofDocument *self,
|
||||
const char *path);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofDocumentProcess *sysprof_document_lookup_process (SysprofDocument *self,
|
||||
int pid);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GListModel *sysprof_document_list_cpu_info (SysprofDocument *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GListModel *sysprof_document_list_files (SysprofDocument *self);
|
||||
|
||||
Reference in New Issue
Block a user