Lines Matching full:topic
61 /** @last_topic: The last printed event topic. */
116 static void default_print_event(void *ps, const char *topic, const char *pmu_name, in default_print_event() argument
136 (!topic || !strglobmatch_nocase(topic, print_state->event_glob))) in default_print_event()
147 if (strcmp(print_state->last_topic, topic ?: "")) { in default_print_event()
148 if (topic) in default_print_event()
149 fprintf(fp, "\n%s:\n", topic); in default_print_event()
151 print_state->last_topic = strdup(topic ?: ""); in default_print_event()
159 if (!topic && event_type_desc) { in default_print_event()
356 static void json_print_event(void *ps, const char *topic, const char *pmu_name, 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()