mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: add sysprof_document_find_counter()
This allows finding a specific counter without having to traverse them all from consumer code.
This commit is contained in:
@ -25,6 +25,7 @@
|
||||
#include <sysprof-capture.h>
|
||||
|
||||
#include "sysprof-callgraph.h"
|
||||
#include "sysprof-document-counter.h"
|
||||
#include "sysprof-document-file.h"
|
||||
#include "sysprof-document-traceable.h"
|
||||
#include "sysprof-mark-catalog.h"
|
||||
@ -62,6 +63,11 @@ GListModel *sysprof_document_list_marks (SysprofDocume
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GListModel *sysprof_document_catalog_marks (SysprofDocument *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofDocumentCounter
|
||||
*sysprof_document_find_counter (SysprofDocument *self,
|
||||
const char *category,
|
||||
const char *name);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GListModel *sysprof_document_list_symbols_in_traceable (SysprofDocument *self,
|
||||
SysprofDocumentTraceable *traceable);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
|
||||
Reference in New Issue
Block a user