event_group
&event_group,
r = create_events_from_catalog(&event_group.attrs,
static struct attribute_group event_group = {
event_group.attrs = hv_gpci_event_attrs;
event_group.attrs = hv_gpci_event_attrs_v6;
&event_group,
static struct attribute_group event_group = {
static struct attribute_group event_group = {
&event_group,
attr_event_free(p->event_group->attrs);
p->event_group->attrs = NULL;
p->event_group->attrs = attr_event_init(p);
if (!p->event_group->attrs) {
.event_group = &paicrypt_events_group
.event_group = &paiext_events_group
struct attribute_group *event_group; /* Ptr to attribute of events */
static struct event_group perf_0x26557651 = {
static struct event_group *known_event_groups[] = {
struct event_group **peg;
static bool skip_telem_region(struct telemetry_region *tr, struct event_group *e)
static bool group_has_usable_regions(struct event_group *e, struct pmt_feature_group *p)
static bool all_regions_have_sufficient_rmid(struct event_group *e, struct pmt_feature_group *p)
static bool enable_events(struct event_group *e, struct pmt_feature_group *p)
struct event_group **peg;
struct event_group **peg;
struct event_group *e;
e = container_of(pevt0, struct event_group, evts);
static struct event_group energy_0x26696143 = {
int event_group;
event_group = D40_TYPE_TO_GROUP(dev_type);
int phy_num = j + event_group * 2;
int phy_num = j + event_group * 2;
PMU_FORMAT_ATTR(event_group, "config:28-31"); /* EGI: Event Group Index */
u32 event_group = iommu_event_group(event->attr.config);
if (event_group >= iommu_pmu->num_eg)
u32 event_group = iommu_event_group(event->attr.config);
if (!(iommu_pmu->cntr_evcap[idx][event_group] & select))
struct attribute_group *event_group;
event_group =
if (!event_group)
event_group->name = "events";
event_group->is_visible = impl_ops->event_attr_is_visible;
event_group->attrs = impl_ops->get_event_attrs(cspmu);
if (!event_group->attrs)
return event_group;
struct perf_event *event_group[HISI_PCIE_MAX_COUNTERS];
event_group[0] = leader;
event_group[counters++] = event;
if (hisi_pcie_pmu_cmp_event(event_group[num], sibling))
event_group[counters++] = sibling;
struct perf_event *event_group[HNS3_PMU_MAX_HW_EVENTS];
event_group[0] = leader;
event_group[counters++] = event;
if (hns3_pmu_cmp_event(event_group[num], sibling))
event_group[counters++] = sibling;
u32 event_group, u32 event_cc)
shift = L2PMRESR_GROUP_BITS * event_group;
u32 event_cc, event_group;
event_group = L2_EVT_GROUP(config);
cluster_pmu_set_evtyper(idx, event_group);
cluster_pmu_set_resr(cluster, event_group, event_cc);
if (symbol_conf.event_group) {
if (!symbol_conf.event_group || !evsel__is_group_leader(pos))
OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group,
if (has_group && !details->event_group)
OPT_BOOLEAN('g', "group", &details.event_group,
if (details.event_group && (details.verbose || details.freq)) {
symbol_conf.event_group = perf_config_bool(var, value);
OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, &report.group_set,
if (symbol_conf.event_group && !evsel__is_group_leader(pos))
if (symbol_conf.event_group && !evsel__is_group_leader(pos)) {
symbol_conf.event_group = false;
if (symbol_conf.event_group && !evsel__is_group_leader(pos)) {
symbol_conf.event_group = true;
symbol_conf.event_group = true;
if (!symbol_conf.event_group ||
if (symbol_conf.event_group && !evsel__is_group_leader(evsel))
if (symbol_conf.event_group) {
if (!symbol_conf.event_group && nr_samples == 0)
if (symbol_conf.event_group) {
if (symbol_conf.group_sort_idx && symbol_conf.event_group) {
if (ret || !symbol_conf.event_group)
if (symbol_conf.event_group) {
details.event_group = true;
if (!symbol_conf.event_group)
if (details->event_group) {
bool event_group;
.event_group = true,
event_group,
static int get_family_id(int sd, __u32 pid, __u32 *event_group)
*event_group = *(__u32 *)((char *)group_na +
__u32 event_group;
self->fid = get_family_id(self->sd, self->pid, &event_group);
rc = setsockopt(self->sd, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, &event_group,
sizeof(event_group));
static int capture_events(int fd, int event_group)
&event_group, sizeof(event_group)) < 0)