Lines Matching refs:group

1315 /* Check the name is good for event, group or function */
1420 pev->group = strdup_esc(*arg);
1421 if (!pev->group)
1425 pev->group = NULL;
1434 zfree(&pev->group);
1866 /* Scan event and group name. */
1881 tev->group = strdup(fmt2_str);
1883 if (tev->group == NULL || tev->event == NULL) {
1887 pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr);
2063 if (strbuf_addf(&buf, "%s:%s=", pev->group ?: PERFPROBE_GROUP,
2211 tev->group, tev->event) < 0)
2311 /* Convert event/group name */
2313 pev->group = strdup(tev->group);
2314 if (pev->event == NULL || pev->group == NULL)
2352 zfree(&pev->group);
2423 dst->group = strdup_or_goto(src->group, out_err);
2451 zfree(&tev->group);
2579 static int perf_probe_event__sprintf(const char *group, const char *event,
2587 if (asprintf(&buf, "%s:%s", group, event) < 0)
2621 int show_perf_probe_event(const char *group, const char *event,
2628 ret = perf_probe_event__sprintf(group, event, pev, module, &buf);
2649 /* Next, check the combination of name and group */
2650 if (e_snprintf(tmp, 128, "%s:%s", tev->group, tev->event) < 0)
2680 ret = show_perf_probe_event(pev.group, pev.event,
2803 tev->group, tev->event);
2832 const char *event, *group;
2850 if (pev->group && !pev->sdt)
2851 group = pev->group;
2852 else if (tev->group)
2853 group = tev->group;
2855 group = PERFPROBE_GROUP;
2866 tev->group = strdup(group);
2867 if (tev->event == NULL || tev->group == NULL)
3270 if (tev->group) {
3271 tev->group = strdup(pev->group);
3272 if (!tev->group)
3367 if (!entry->pev.event || !entry->pev.group)
3369 if ((!pev->group || strglobmatch(entry->pev.group, pev->group)) &&
3496 if (!pev->group && !pev->sdt) {
3497 /* Set group name if not given */
3499 pev->group = strdup(PERFPROBE_GROUP);
3500 ret = pev->group ? 0 : -ENOMEM;
3502 ret = convert_exec_to_group(pev->target, &pev->group);
3504 pr_warning("Failed to make a group name.\n");
3631 if (pev->group && strcmp(pev->group, "probe"))
3632 pr_warning("WARN: Group name %s is ignored\n", pev->group);