libsysprof: add flag to ignore kernel processes

This commit is contained in:
Christian Hergert
2023-08-28 14:57:40 -07:00
parent 8f26c0037d
commit c4e96bb314
2 changed files with 13 additions and 9 deletions

View File

@ -101,6 +101,7 @@ typedef enum _SysprofCallgraphFlags
SYSPROF_CALLGRAPH_FLAGS_IGNORE_PROCESS_0 = 1 << 5,
SYSPROF_CALLGRAPH_FLAGS_LEFT_HEAVY = 1 << 6,
SYSPROF_CALLGRAPH_FLAGS_MERGE_SIMILAR_PROCESSES = 1 << 7,
SYSPROF_CALLGRAPH_FLAGS_IGNORE_KERNEL_PROCESSES = 1 << 8,
} SysprofCallgraphFlags;
SYSPROF_AVAILABLE_IN_ALL