Lines Matching full:topic
60 /** @last_topic: The last printed event topic. */
115 static void default_print_event(void *ps, const char *pmu_name, const char *topic, in default_print_event() argument
135 (!topic || !strglobmatch_nocase(topic, print_state->event_glob))) in default_print_event()
146 if (strcmp(print_state->last_topic, topic ?: "")) { in default_print_event()
147 if (topic) in default_print_event()
148 fprintf(fp, "\n%s:\n", topic); in default_print_event()
150 print_state->last_topic = strdup(topic ?: ""); in default_print_event()
158 if (!topic && event_type_desc) { in default_print_event()
356 static void json_print_event(void *ps, const char *pmu_name, const char *topic, in json_print_event() argument
375 if (topic) { in json_print_event()
376 fix_escape_fprintf(fp, &buf, "%s\t\"Topic\": \"%S\"", in json_print_event()
378 topic); in json_print_event()