leader 521 arch/alpha/kernel/pci_iommu.c struct scatterlist *leader; leader 525 arch/alpha/kernel/pci_iommu.c leader = sg; leader 527 arch/alpha/kernel/pci_iommu.c leader_length = leader->length; leader 528 arch/alpha/kernel/pci_iommu.c next_paddr = SG_ENT_PHYS_ADDRESS(leader) + leader_length; leader 549 arch/alpha/kernel/pci_iommu.c leader->dma_address = leader_flag; leader 550 arch/alpha/kernel/pci_iommu.c leader->dma_length = leader_length; leader 551 arch/alpha/kernel/pci_iommu.c leader = sg; leader 559 arch/alpha/kernel/pci_iommu.c leader->dma_address = leader_flag; leader 560 arch/alpha/kernel/pci_iommu.c leader->dma_length = leader_length; leader 567 arch/alpha/kernel/pci_iommu.c sg_fill(struct device *dev, struct scatterlist *leader, struct scatterlist *end, leader 571 arch/alpha/kernel/pci_iommu.c unsigned long paddr = SG_ENT_PHYS_ADDRESS(leader); leader 572 arch/alpha/kernel/pci_iommu.c long size = leader->dma_length; leader 580 arch/alpha/kernel/pci_iommu.c if (leader->dma_address == 0 leader 594 arch/alpha/kernel/pci_iommu.c if (leader->dma_address == 0 && dac_allowed) { leader 612 arch/alpha/kernel/pci_iommu.c if (leader->dma_address == 0) leader 617 arch/alpha/kernel/pci_iommu.c sg_classify(dev, leader, end, 0); leader 618 arch/alpha/kernel/pci_iommu.c return sg_fill(dev, leader, end, out, arena, max_dma, dac_allowed); leader 630 arch/alpha/kernel/pci_iommu.c sg = leader; leader 652 arch/alpha/kernel/pci_iommu.c last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), leader 656 arch/alpha/kernel/pci_iommu.c last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), leader 256 arch/arm/mach-imx/mmdc.c struct perf_event *leader = event->group_leader; leader 260 arch/arm/mach-imx/mmdc.c set_bit(leader->attr.config, &counter_mask); leader 262 arch/arm/mach-imx/mmdc.c if (event != leader) { leader 267 arch/arm/mach-imx/mmdc.c for_each_sibling_event(sibling, leader) { leader 275 arch/arm/mm/cache-l2x0-pmu.c struct perf_event *leader = event->group_leader; leader 279 arch/arm/mm/cache-l2x0-pmu.c if (leader->pmu == pmu) leader 281 arch/arm/mm/cache-l2x0-pmu.c else if (!is_software_event(leader)) leader 284 arch/arm/mm/cache-l2x0-pmu.c for_each_sibling_event(sibling, leader) { leader 713 arch/mips/kernel/perf_event_mipsxx.c struct perf_event *sibling, *leader = event->group_leader; leader 718 arch/mips/kernel/perf_event_mipsxx.c if (mipsxx_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0) leader 721 arch/mips/kernel/perf_event_mipsxx.c for_each_sibling_event(sibling, leader) { leader 773 arch/nds32/kernel/perf_event_cpu.c struct perf_event *sibling, *leader = event->group_leader; leader 782 arch/nds32/kernel/perf_event_cpu.c if (!validate_event(event->pmu, &fake_pmu, leader)) leader 785 arch/nds32/kernel/perf_event_cpu.c for_each_sibling_event(sibling, leader) { leader 545 arch/powerpc/perf/core-book3s.c struct perf_event *leader = event->group_leader; leader 548 arch/powerpc/perf/core-book3s.c if (is_ebb_event(leader) != is_ebb_event(event)) leader 555 arch/powerpc/perf/core-book3s.c if (!leader->attr.pinned || !leader->attr.exclusive) leader 1004 arch/x86/events/core.c static int collect_events(struct cpu_hw_events *cpuc, struct perf_event *leader, bool dogrp) leader 1016 arch/x86/events/core.c if (!cpuc->is_fake && leader->attr.precise_ip) { leader 1022 arch/x86/events/core.c if (is_pebs_pt(leader) && !leader->aux_event) leader 1029 arch/x86/events/core.c cpuc->pebs_output != is_pebs_pt(leader) + 1) leader 1032 arch/x86/events/core.c cpuc->pebs_output = is_pebs_pt(leader) + 1; leader 1035 arch/x86/events/core.c if (is_x86_event(leader)) { leader 1038 arch/x86/events/core.c cpuc->event_list[n] = leader; leader 1044 arch/x86/events/core.c for_each_sibling_event(event, leader) { leader 2046 arch/x86/events/core.c struct perf_event *leader = event->group_leader; leader 2059 arch/x86/events/core.c n = collect_events(fake_cpuc, leader, true); leader 353 arch/x86/events/intel/uncore.c uncore_collect_events(struct intel_uncore_box *box, struct perf_event *leader, leader 368 arch/x86/events/intel/uncore.c if (is_box_event(box, leader)) { leader 369 arch/x86/events/intel/uncore.c box->event_list[n] = leader; leader 376 arch/x86/events/intel/uncore.c for_each_sibling_event(event, leader) { leader 660 arch/x86/events/intel/uncore.c struct perf_event *leader = event->group_leader; leader 679 arch/x86/events/intel/uncore.c n = uncore_collect_events(fake_box, leader, true); leader 82 drivers/media/usb/tm6000/tm6000-input.c u32 pulse = 0, leader = 0; leader 100 drivers/media/usb/tm6000/tm6000-input.c leader = 900; /* ms */ leader 105 drivers/media/usb/tm6000/tm6000-input.c leader = 900; /* ms - from the NEC decoding */ leader 111 drivers/media/usb/tm6000/tm6000-input.c leader = ir_clock_mhz * leader; leader 113 drivers/media/usb/tm6000/tm6000-input.c leader = leader | 0x8000; leader 118 drivers/media/usb/tm6000/tm6000-input.c ir_clock_mhz, leader, pulse); leader 131 drivers/media/usb/tm6000/tm6000-input.c tm6000_set_reg(dev, TM6010_REQ07_RDC_IR_LEADER1, leader >> 8); leader 132 drivers/media/usb/tm6000/tm6000-input.c tm6000_set_reg(dev, TM6010_REQ07_RDD_IR_LEADER0, leader); leader 1255 drivers/perf/arm-cci.c struct perf_event *sibling, *leader = event->group_leader; leader 1267 drivers/perf/arm-cci.c if (!validate_event(event->pmu, &fake_pmu, leader)) leader 1270 drivers/perf/arm-cci.c for_each_sibling_event(sibling, leader) { leader 527 drivers/perf/arm_dsu_pmu.c struct perf_event *sibling, *leader = event->group_leader; leader 534 drivers/perf/arm_dsu_pmu.c if (!dsu_pmu_validate_event(event->pmu, &fake_hw, leader)) leader 536 drivers/perf/arm_dsu_pmu.c for_each_sibling_event(sibling, leader) { leader 313 drivers/perf/arm_pmu.c struct perf_event *sibling, *leader = event->group_leader; leader 322 drivers/perf/arm_pmu.c if (!validate_event(event->pmu, &fake_pmu, leader)) leader 325 drivers/perf/arm_pmu.c for_each_sibling_event(sibling, leader) { leader 64 drivers/perf/hisilicon/hisi_uncore_pmu.c struct perf_event *sibling, *leader = event->group_leader; leader 69 drivers/perf/hisilicon/hisi_uncore_pmu.c if (!is_software_event(leader)) { leader 74 drivers/perf/hisilicon/hisi_uncore_pmu.c if (leader->pmu != event->pmu) leader 78 drivers/perf/hisilicon/hisi_uncore_pmu.c if (leader != event) leader 453 drivers/perf/qcom_l3_pmu.c struct perf_event *leader = event->group_leader; leader 457 drivers/perf/qcom_l3_pmu.c if (leader->pmu != event->pmu && !is_software_event(leader)) leader 461 drivers/perf/qcom_l3_pmu.c counters += event_num_counters(leader); leader 463 drivers/perf/qcom_l3_pmu.c for_each_sibling_event(sibling, leader) { leader 385 drivers/perf/thunderx2_pmu.c struct perf_event *sibling, *leader = event->group_leader; leader 391 drivers/perf/thunderx2_pmu.c if (!tx2_uncore_validate_event(event->pmu, leader, &counters)) leader 394 drivers/perf/thunderx2_pmu.c for_each_sibling_event(sibling, leader) { leader 132 drivers/tty/tty_jobctrl.c if (current->signal->leader && leader 207 drivers/tty/tty_jobctrl.c if (!p->signal->leader) { leader 261 drivers/tty/tty_jobctrl.c if (!current->signal->leader) leader 350 drivers/tty/tty_jobctrl.c if (current->signal->leader && (task_session(current) == tty->session)) leader 357 drivers/tty/tty_jobctrl.c if (!current->signal->leader || current->signal->tty) { leader 1104 fs/exec.c struct task_struct *leader = tsk->group_leader; leader 1114 fs/exec.c if (likely(leader->exit_state)) leader 1134 fs/exec.c tsk->start_time = leader->start_time; leader 1135 fs/exec.c tsk->real_start_time = leader->real_start_time; leader 1137 fs/exec.c BUG_ON(!same_thread_group(leader, tsk)); leader 1151 fs/exec.c tsk->pid = leader->pid; leader 1152 fs/exec.c change_pid(tsk, PIDTYPE_PID, task_pid(leader)); leader 1153 fs/exec.c transfer_pid(leader, tsk, PIDTYPE_TGID); leader 1154 fs/exec.c transfer_pid(leader, tsk, PIDTYPE_PGID); leader 1155 fs/exec.c transfer_pid(leader, tsk, PIDTYPE_SID); leader 1157 fs/exec.c list_replace_rcu(&leader->tasks, &tsk->tasks); leader 1158 fs/exec.c list_replace_init(&leader->sibling, &tsk->sibling); leader 1161 fs/exec.c leader->group_leader = tsk; leader 1164 fs/exec.c leader->exit_signal = -1; leader 1166 fs/exec.c BUG_ON(leader->exit_state != EXIT_ZOMBIE); leader 1167 fs/exec.c leader->exit_state = EXIT_DEAD; leader 1174 fs/exec.c if (unlikely(leader->ptrace)) leader 1175 fs/exec.c __wake_up_parent(leader, leader->parent); leader 1179 fs/exec.c release_task(leader); leader 3138 fs/proc/base.c struct dentry *dentry, *leader, *dir; leader 3156 fs/proc/base.c leader = d_hash_and_lookup(mnt->mnt_root, &name); leader 3157 fs/proc/base.c if (!leader) leader 3162 fs/proc/base.c dir = d_hash_and_lookup(leader, &name); leader 3176 fs/proc/base.c dput(leader); leader 3539 fs/proc/base.c struct task_struct *leader = get_proc_task(dir); leader 3544 fs/proc/base.c if (!leader) leader 3559 fs/proc/base.c if (!same_thread_group(leader, task)) leader 3566 fs/proc/base.c put_task_struct(leader); leader 297 include/linux/cgroup.h #define cgroup_taskset_for_each_leader(leader, dst_css, tset) \ leader 298 include/linux/cgroup.h for ((leader) = cgroup_taskset_first((tset), &(dst_css)); \ leader 299 include/linux/cgroup.h (leader); \ leader 300 include/linux/cgroup.h (leader) = cgroup_taskset_next((tset), &(dst_css))) \ leader 301 include/linux/cgroup.h if ((leader) != (leader)->group_leader) \ leader 160 include/linux/sched/signal.h int leader; leader 229 kernel/cgroup/cgroup-internal.h int cgroup_migrate(struct task_struct *leader, bool threadgroup, leader 232 kernel/cgroup/cgroup-internal.h int cgroup_attach_task(struct cgroup *dst_cgrp, struct task_struct *leader, leader 2760 kernel/cgroup/cgroup.c int cgroup_migrate(struct task_struct *leader, bool threadgroup, leader 2772 kernel/cgroup/cgroup.c task = leader; leader 2777 kernel/cgroup/cgroup.c } while_each_thread(leader, task); leader 2792 kernel/cgroup/cgroup.c int cgroup_attach_task(struct cgroup *dst_cgrp, struct task_struct *leader, leader 2806 kernel/cgroup/cgroup.c task = leader; leader 2811 kernel/cgroup/cgroup.c } while_each_thread(leader, task); leader 2818 kernel/cgroup/cgroup.c ret = cgroup_migrate(leader, threadgroup, &mgctx); leader 2823 kernel/cgroup/cgroup.c TRACE_CGROUP_PATH(attach_task, dst_cgrp, leader, threadgroup); leader 2167 kernel/cgroup/cpuset.c struct task_struct *leader; leader 2201 kernel/cgroup/cpuset.c cgroup_taskset_for_each_leader(leader, css, tset) { leader 2202 kernel/cgroup/cpuset.c struct mm_struct *mm = get_task_mm(leader); leader 616 kernel/events/core.c struct perf_event *leader = event->group_leader; leader 618 kernel/events/core.c if (leader->state <= PERF_EVENT_STATE_OFF) leader 619 kernel/events/core.c return leader->state; leader 648 kernel/events/core.c static void perf_event_update_sibling_time(struct perf_event *leader) leader 652 kernel/events/core.c for_each_sibling_event(sibling, leader) leader 2751 kernel/events/core.c struct perf_event *leader = event->group_leader; leader 2775 kernel/events/core.c if (leader != event && leader->state != PERF_EVENT_STATE_ACTIVE) { leader 4837 kernel/events/core.c static int __perf_read_group_add(struct perf_event *leader, leader 4840 kernel/events/core.c struct perf_event_context *ctx = leader->ctx; leader 4846 kernel/events/core.c ret = perf_event_read(leader, true); leader 4858 kernel/events/core.c values[n++] += leader->total_time_enabled + leader 4859 kernel/events/core.c atomic64_read(&leader->child_total_time_enabled); leader 4863 kernel/events/core.c values[n++] += leader->total_time_running + leader 4864 kernel/events/core.c atomic64_read(&leader->child_total_time_running); leader 4870 kernel/events/core.c values[n++] += perf_event_count(leader); leader 4872 kernel/events/core.c values[n++] = primary_event_id(leader); leader 4874 kernel/events/core.c for_each_sibling_event(sub, leader) { leader 4887 kernel/events/core.c struct perf_event *leader = event->group_leader, *child; leader 4888 kernel/events/core.c struct perf_event_context *ctx = leader->ctx; leader 4898 kernel/events/core.c values[0] = 1 + leader->nr_siblings; leader 4904 kernel/events/core.c mutex_lock(&leader->child_mutex); leader 4906 kernel/events/core.c ret = __perf_read_group_add(leader, read_format, values); leader 4910 kernel/events/core.c list_for_each_entry(child, &leader->child_list, child_list) { leader 4916 kernel/events/core.c mutex_unlock(&leader->child_mutex); leader 4924 kernel/events/core.c mutex_unlock(&leader->child_mutex); leader 6287 kernel/events/core.c struct perf_event *leader = event->group_leader, *sub; leader 6292 kernel/events/core.c values[n++] = 1 + leader->nr_siblings; leader 6300 kernel/events/core.c if ((leader != event) && leader 6301 kernel/events/core.c (leader->state == PERF_EVENT_STATE_ACTIVE)) leader 6302 kernel/events/core.c leader->pmu->read(leader); leader 6304 kernel/events/core.c values[n++] = perf_event_count(leader); leader 6306 kernel/events/core.c values[n++] = primary_event_id(leader); leader 6310 kernel/events/core.c for_each_sibling_event(sub, leader) { leader 11912 kernel/events/core.c struct perf_event *leader; leader 11916 kernel/events/core.c leader = inherit_event(parent_event, parent, parent_ctx, leader 11918 kernel/events/core.c if (IS_ERR(leader)) leader 11919 kernel/events/core.c return PTR_ERR(leader); leader 11927 kernel/events/core.c child, leader, child_ctx); leader 11932 kernel/events/core.c !perf_get_aux_event(child_ctr, leader)) leader 193 kernel/exit.c struct task_struct *leader; leader 215 kernel/exit.c leader = p->group_leader; leader 216 kernel/exit.c if (leader != p && thread_group_empty(leader) leader 217 kernel/exit.c && leader->exit_state == EXIT_ZOMBIE) { leader 223 kernel/exit.c zap_leader = do_notify_parent(leader, leader->exit_signal); leader 225 kernel/exit.c leader->exit_state = EXIT_DEAD; leader 232 kernel/exit.c p = leader; leader 2649 kernel/fork.c struct task_struct *leader, *parent, *child; leader 2653 kernel/fork.c leader = top = top->group_leader; leader 2655 kernel/fork.c for_each_thread(leader, parent) { leader 2661 kernel/fork.c leader = child; leader 2669 kernel/fork.c if (leader != top) { leader 2670 kernel/fork.c child = leader; leader 2672 kernel/fork.c leader = parent->group_leader; leader 1049 kernel/sys.c if (p->signal->leader) leader 1167 kernel/sys.c if (group_leader->signal->leader) leader 1176 kernel/sys.c group_leader->signal->leader = 1; leader 5805 mm/memcontrol.c struct task_struct *leader, *p; leader 5821 mm/memcontrol.c cgroup_taskset_for_each_leader(leader, css, tset) { leader 5823 mm/memcontrol.c p = leader; leader 777 tools/perf/builtin-record.c pos->leader != pos && leader 629 tools/perf/builtin-report.c struct hists *leader_hists = evsel__hists(pos->leader); leader 1743 tools/perf/builtin-script.c if (evsel_script(evsel->leader)->gnum++ == 0) leader 1751 tools/perf/builtin-script.c if (evsel_script(evsel->leader)->gnum == evsel->leader->core.nr_members) { leader 1752 tools/perf/builtin-script.c for_each_group_member (ev2, evsel->leader) { leader 1760 tools/perf/builtin-script.c evsel_script(evsel->leader)->gnum = 0; leader 466 tools/perf/builtin-stat.c counter->leader != counter && leader 484 tools/perf/builtin-stat.c if ((counter->leader != counter) || leader 485 tools/perf/builtin-stat.c !(counter->leader->core.nr_members > 1)) leader 301 tools/perf/builtin-top.c struct hists *leader_hists = evsel__hists(pos->leader); leader 184 tools/perf/tests/hists_link.c static int validate_match(struct hists *leader, struct hists *other) leader 186 tools/perf/tests/hists_link.c return __validate_match(leader) || __validate_match(other); leader 262 tools/perf/tests/hists_link.c static int validate_link(struct hists *leader, struct hists *other) leader 264 tools/perf/tests/hists_link.c return __validate_link(leader, 0) || __validate_link(other, 1); leader 639 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 645 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 672 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 681 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 687 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 713 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 736 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 742 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 755 tools/perf/tests/parse-events.c !strcmp(leader->group_name, "group1")); leader 772 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 778 tools/perf/tests/parse-events.c evsel = leader = perf_evsel__next(evsel); leader 790 tools/perf/tests/parse-events.c !strcmp(leader->group_name, "group2")); leader 805 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 828 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 834 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 863 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 872 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 878 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 905 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 910 tools/perf/tests/parse-events.c evsel = leader = perf_evsel__next(evsel); leader 937 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 958 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 964 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 990 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 998 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 1004 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 1030 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 1038 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 1044 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 1070 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 1078 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 1084 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 1110 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 1118 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 1123 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 1134 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 1148 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 1163 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 1171 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 1176 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 1187 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 1202 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 1223 tools/perf/tests/parse-events.c struct evsel *evsel, *leader; leader 1228 tools/perf/tests/parse-events.c evsel = leader = evlist__first(evlist); leader 1233 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); leader 13 tools/perf/tests/thread-mg-share.c struct thread *leader; leader 34 tools/perf/tests/thread-mg-share.c leader = machine__findnew_thread(machine, 0, 0); leader 43 tools/perf/tests/thread-mg-share.c leader && t1 && t2 && t3 && other); leader 45 tools/perf/tests/thread-mg-share.c mg = leader->mg; leader 66 tools/perf/tests/thread-mg-share.c machine__remove_thread(machine, leader); leader 79 tools/perf/tests/thread-mg-share.c thread__put(leader); leader 2037 tools/perf/util/annotate.c struct evsel *leader, s64 len) leader 2052 tools/perf/util/annotate.c for_each_group_evsel(evsel, leader) { leader 191 tools/perf/util/evlist.c struct evsel *evsel, *leader; leader 193 tools/perf/util/evlist.c leader = list_entry(list->next, struct evsel, core.node); leader 196 tools/perf/util/evlist.c leader->core.nr_members = evsel->idx - leader->idx + 1; leader 199 tools/perf/util/evlist.c evsel->leader = leader; leader 1519 tools/perf/util/evlist.c if (evsel->leader == move_evsel->leader) leader 1636 tools/perf/util/evlist.c struct evsel *leader = evlist__first(evlist); leader 1639 tools/perf/util/evlist.c leader->forced_leader = true; leader 1646 tools/perf/util/evlist.c struct evsel *c2, *leader; leader 1649 tools/perf/util/evlist.c leader = evsel->leader; leader 1651 tools/perf/util/evlist.c leader->name, leader->core.nr_members); leader 1660 tools/perf/util/evlist.c if (c2->leader == leader) { leader 1663 tools/perf/util/evlist.c c2->leader = c2; leader 1667 tools/perf/util/evlist.c return leader; leader 243 tools/perf/util/evsel.c evsel->leader = evsel; leader 939 tools/perf/util/evsel.c struct evsel *leader = evsel->leader; leader 964 tools/perf/util/evsel.c if (leader->core.nr_members > 1) { leader 989 tools/perf/util/evsel.c if ((leader != evsel) && leader->sample_read) { leader 1001 tools/perf/util/evsel.c attr->sample_type = leader->core.attr.sample_type; leader 1330 tools/perf/util/evsel.c perf_evsel__process_group_data(struct evsel *leader, leader 1333 tools/perf/util/evsel.c u64 read_format = leader->core.attr.read_format; leader 1339 tools/perf/util/evsel.c if (nr != (u64) leader->core.nr_members) leader 1350 tools/perf/util/evsel.c perf_evsel__set_count(leader, cpu, thread, leader 1356 tools/perf/util/evsel.c counter = perf_evlist__id2evsel(leader->evlist, v[i].id); leader 1368 tools/perf/util/evsel.c perf_evsel__read_group(struct evsel *leader, int cpu, int thread) leader 1370 tools/perf/util/evsel.c struct perf_stat_evsel *ps = leader->stats; leader 1371 tools/perf/util/evsel.c u64 read_format = leader->core.attr.read_format; leader 1372 tools/perf/util/evsel.c int size = perf_evsel__read_size(&leader->core); leader 1378 tools/perf/util/evsel.c if (!perf_evsel__is_group_leader(leader)) leader 1389 tools/perf/util/evsel.c if (FD(leader, cpu, thread) < 0) leader 1392 tools/perf/util/evsel.c if (readn(FD(leader, cpu, thread), data, size) <= 0) leader 1395 tools/perf/util/evsel.c return perf_evsel__process_group_data(leader, cpu, thread, data); leader 1431 tools/perf/util/evsel.c struct evsel *leader = evsel->leader; leader 1441 tools/perf/util/evsel.c BUG_ON(!leader->core.fd); leader 1443 tools/perf/util/evsel.c fd = FD(leader, cpu, thread); leader 83 tools/perf/util/evsel.h struct evsel *leader; leader 326 tools/perf/util/evsel.h return evsel->leader == evsel; leader 365 tools/perf/util/evsel.h return evsel->idx - evsel->leader->idx; leader 371 tools/perf/util/evsel.h (_evsel) && (_evsel)->leader == (_leader); \ leader 377 tools/perf/util/evsel.h (_evsel) && (_evsel)->leader == (_leader); \ leader 2427 tools/perf/util/header.c struct evsel *evsel, *leader = NULL; leader 2468 tools/perf/util/header.c evsel->leader = evsel; leader 2481 tools/perf/util/header.c leader = evsel; leader 2486 tools/perf/util/header.c evsel->leader = leader; leader 2445 tools/perf/util/hist.c void hists__match(struct hists *leader, struct hists *other) leader 2453 tools/perf/util/hist.c return hists__match_hierarchy(&leader->entries_collapsed, leader 2457 tools/perf/util/hist.c if (hists__has(leader, need_collapse)) leader 2458 tools/perf/util/hist.c root = &leader->entries_collapsed; leader 2460 tools/perf/util/hist.c root = leader->entries_in; leader 2477 tools/perf/util/hist.c struct hist_entry *pos, *leader; leader 2485 tools/perf/util/hist.c list_for_each_entry(leader, &pos->pairs.head, pairs.node) { leader 2486 tools/perf/util/hist.c if (leader->hists == leader_hists) { leader 2494 tools/perf/util/hist.c leader = add_dummy_hierarchy_entry(leader_hists, leader 2496 tools/perf/util/hist.c if (leader == NULL) leader 2500 tools/perf/util/hist.c leader->parent_he = parent; leader 2502 tools/perf/util/hist.c hist_entry__add_pair(pos, leader); leader 2506 tools/perf/util/hist.c if (hists__link_hierarchy(leader_hists, leader, leader 2507 tools/perf/util/hist.c &leader->hroot_in, leader 2520 tools/perf/util/hist.c int hists__link(struct hists *leader, struct hists *other) leader 2528 tools/perf/util/hist.c return hists__link_hierarchy(leader, NULL, leader 2529 tools/perf/util/hist.c &leader->entries_collapsed, leader 2542 tools/perf/util/hist.c pair = hists__add_dummy_entry(leader, pos); leader 217 tools/perf/util/hist.h void hists__match(struct hists *leader, struct hists *other); leader 218 tools/perf/util/hist.h int hists__link(struct hists *leader, struct hists *other); leader 396 tools/perf/util/machine.c struct thread *leader; leader 406 tools/perf/util/machine.c leader = __machine__findnew_thread(machine, th->pid_, th->pid_); leader 407 tools/perf/util/machine.c if (!leader) leader 410 tools/perf/util/machine.c if (!leader->mg) leader 411 tools/perf/util/machine.c leader->mg = map_groups__new(machine); leader 413 tools/perf/util/machine.c if (!leader->mg) leader 416 tools/perf/util/machine.c if (th->mg == leader->mg) leader 431 tools/perf/util/machine.c th->mg = map_groups__get(leader->mg); leader 433 tools/perf/util/machine.c thread__put(leader); leader 1473 tools/perf/util/parse-events.c struct evsel *evsel, *leader; leader 1478 tools/perf/util/parse-events.c leader = list_first_entry(list, struct evsel, core.node); leader 1480 tools/perf/util/parse-events.c total_members = evsel->idx - leader->idx + 1; leader 1498 tools/perf/util/parse-events.c if (!is_same_uncore_block(leader->pmu_name, evsel->pmu_name)) leader 1508 tools/perf/util/parse-events.c if ((leader != evsel) && (leader->pmu_name == evsel->pmu_name)) { leader 1513 tools/perf/util/parse-events.c WARN_ON(strcmp(leader->name, evsel->name)); leader 1541 tools/perf/util/parse-events.c evsel->leader = (struct evsel *) leaders[i++]; leader 1564 tools/perf/util/parse-events.c struct evsel *leader; leader 1575 tools/perf/util/parse-events.c leader = list_entry(list->next, struct evsel, core.node); leader 1576 tools/perf/util/parse-events.c leader->group_name = name ? strdup(name) : NULL; leader 324 tools/perf/util/stat-shadow.c struct evsel *counter, *leader, **metric_events, *oc; leader 333 tools/perf/util/stat-shadow.c leader = counter->leader; leader 351 tools/perf/util/stat-shadow.c if (leader) { leader 353 tools/perf/util/stat-shadow.c for_each_group_member (oc, leader) { leader 469 tools/perf/util/stat.c struct evsel *leader = evsel->leader; leader 479 tools/perf/util/stat.c if (leader->core.nr_members > 1) leader 29 tools/perf/util/thread.c struct thread *leader = __machine__findnew_thread(machine, pid, pid); leader 30 tools/perf/util/thread.c if (leader) { leader 31 tools/perf/util/thread.c thread->mg = map_groups__get(leader->mg); leader 32 tools/perf/util/thread.c thread__put(leader); leader 17 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c struct event event, leader; leader 69 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_init(&leader, 0x1001e); leader 70 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_leader_ebb_init(&leader); leader 71 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c FAIL_IF(event_open(&leader)); leader 77 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c FAIL_IF(event_open_with_group(&event, leader.fd)); leader 78 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_close(&leader); leader 82 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_init(&leader, 0x1001e); leader 83 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_leader_ebb_init(&leader); leader 84 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c FAIL_IF(event_open(&leader)); leader 89 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c FAIL_IF(event_open_with_group(&event, leader.fd) == 0); leader 90 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_close(&leader); leader 93 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_init(&leader, 0x1001e); leader 94 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_leader_ebb_init(&leader); leader 96 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c leader.attr.config &= ~(1ull << 63); leader 98 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c FAIL_IF(event_open(&leader)); leader 104 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c FAIL_IF(event_open_with_group(&event, leader.fd) == 0); leader 105 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_close(&leader); leader 108 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_init(&leader, 0x1001e); leader 109 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_leader_ebb_init(&leader); leader 110 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c leader.attr.exclusive = 0; leader 112 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c FAIL_IF(event_open(&leader) == 0); leader 115 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_init(&leader, 0x1001e); leader 116 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c event_leader_ebb_init(&leader); leader 117 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c leader.attr.pinned = 0; leader 119 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c FAIL_IF(event_open(&leader) == 0);