Lines Matching full:topic
45 'name', 'topic', 'desc',
324 self.topic = ''
438 def read_json_events(path: str, topic: str) -> Sequence[JsonEvent]:
447 event.topic = topic
465 for event in read_json_events(item.path, topic=''):
472 def add_events_table_entries(item: os.DirEntry, topic: str) -> None:
474 for e in read_json_events(item.path, topic):
490 return (fix_none(j.pmu).replace(',','_'), fix_none(j.name), j.desc is not None, fix_none(j.topic),
596 def get_topic(topic: str) -> str:
597 if topic.endswith('metrics.json'):
599 return removesuffix(topic, '.json').replace('-', ' ')
627 topic = get_topic(item.name)
628 for event in read_json_events(item.path, topic):