Lines Matching refs:event

38 #include "util/event.h"
53 * The variable indicates the number of supported pmu event symbols.
56 * >0 is the number of supported pmu event symbols
683 static int add_bpf_event(const char *group, const char *event, int fd, struct bpf_object *obj,
693 * Check if we should add the event, i.e. if it is a TP but starts with a '!',
702 pr_debug("add bpf event %s:%s and attach bpf program %d\n",
703 group, event, fd);
706 event, parse_state->error,
711 pr_debug("Failed to add BPF event %s:%s\n",
712 group, event);
719 pr_debug("adding %s:%s\n", group, event);
723 group, event, pos);
824 " \tmap:[<eventmap>].event<indices>=[event]\n"
1373 const char *sys, const char *event,
1386 return add_tracepoint_multi_sys(list, idx, sys, event,
1389 return add_tracepoint_event(list, idx, sys, event,
1454 fprintf(stderr, "Attempting to add event pmu '%s' with '",
1502 fprintf(stderr, "After aliases, add event pmu '%s' with '",
1685 * If the event's PMU name starts to repeat, it must be a new
1686 * event. That can be used to distinguish the leader from
1687 * other members, even they have the same event name.
1695 /* Store the leader event for each PMU */
1699 /* only one event alias */
1706 * An uncore event alias is a joint name which means the same event
1712 * Here the uncore event aliases must be from the same uncore block.
1715 * Setting the leader event for corresponding members in each group.
1764 * Called for single event definition. Update the
1765 * 'all event' list, and reinit the 'single event'
1766 * list, for next event definition.
2082 * So it must be cpu// events, not kernel pmu event.
2121 * parse event config string, return a list of event terms.
2161 WARN_ONCE(true, "WARNING: event parser found nothing\n");
2198 const char *err_help, const char *event)
2200 const char *str = "invalid or unsupported event: ";
2202 char *buf = (char *) event;
2207 int len_event = strlen(event);
2212 * the event string if it's bigger.
2220 str = "event syntax error: ";
2230 strncpy(buf, event + cut, max_len);
2253 const char *event)
2258 __parse_events_print_error(err->idx, err->str, err->help, event);
2265 err->first_help, event);
2437 "Hardware event",
2438 "Software event",
2439 "Tracepoint event",
2440 "Hardware cache event",
2441 "Raw hardware event descriptor",
2553 * Check whether event is in <debugfs_mount_point>/tracing/events
2663 !strglobmatch(ent->pev.event, event_glob))
2666 ent->pev.event, nd->s);
2694 printf(" %-50s [%s]\n", buf, "SDT event");
2699 printf(" %-50s [%s]\n", nd->s, "SDT event");
2791 printf(" %-50s [%s]\n", name, "Tool event");
2880 * Print the help text for the event symbols:
3011 temp.config = strdup("event");
3147 * Return string contains valid config terms of an event.