Lines Matching refs:topic
57 /** @last_topic: The last printed event topic. */
98 static void default_print_event(void *ps, const char *pmu_name, const char *topic,
117 (!topic || !strglobmatch_nocase(topic, print_state->event_glob)))
128 if (strcmp(print_state->last_topic, topic ?: "")) {
129 if (topic)
130 printf("\n%s:\n", topic);
132 print_state->last_topic = strdup(topic ?: "");
140 if (!topic && event_type_desc) {
324 static void json_print_event(void *ps, const char *pmu_name, const char *topic,
342 if (topic) {
343 fix_escape_printf(&buf, "%s\t\"Topic\": \"%S\"", need_sep ? ",\n" : "", topic);