struct Category
Defined at line 32 of file ../../third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h
A compile-time representation of a track event category. See
PERFETTO_DEFINE_CATEGORIES for registering your own categories.
Public Members
const char *const name
const char *const description
Public Methods
void Category (const Category & )
Defined at line 39 of file ../../third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h
void Category (const char * name_)
Defined at line 40 of file ../../third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h
Category FromDynamicCategory (const char * name)
Used for parsing dynamic category groups. Note that |name| and
|DynamicCategory| must outlive the returned object because the category
name isn't copied.
Category FromDynamicCategory (const DynamicCategory & )
Category SetDescription (const char * description_)
Defined at line 44 of file ../../third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h
template <typename... Args>
Category SetTags (Args &&... args)
Defined at line 49 of file ../../third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h
Category Group (const char * names)
A comma separated list of multiple categories to be used in a single trace
point.
Defined at line 56 of file ../../third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h
bool IsGroup ()
Defined at line 66 of file ../../third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h
size_t name_size ()
Returns the number of character in the category name. Not valid for
category groups.
Defined at line 70 of file ../../third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h
template <typename T>
void ForEachGroupMember (T callback)
Iterates over all the members of this category group, or just the name of
the category itself if this isn't a category group. Return false from
|callback| to stop iteration.
Defined at line 79 of file ../../third_party/perfetto/include/perfetto/tracing/track_event_category_registry.h