Lines Matching +defs:pkg +defs:config
1366 .perf_name = "energy-pkg",
1379 .perf_name = "energy-pkg",
1392 .perf_name = "energy-pkg",
1405 .perf_name = "energy-pkg",
2442 static long open_perf_counter(int cpu, unsigned int type, unsigned int config, int group_fd, __u64 read_format)
2454 attr.config = config;
3163 /* if showing only 1st thread in pkg and this isn't one, bail out */
4147 /* sum per-pkg values only for 1st core in pkg */
4599 unsigned int config;
4615 if (sscanf(pconfig_str, "event=%x", &config) == 1) {
4637 ret = (umask << 8) | config;
4849 err(-1, "%s: read perf %s: %ld", __func__, "pkg", actual_read_size_pkg);
4860 * Skip first element from core and pkg buffers.
5605 fprintf(outf, " (%s%s%s%s%slocked, pkg-cstate-limit=%d (%s)",
5941 int pkg, node, lnode, cpu, cpux;
5949 for (pkg = 0; pkg < topo.num_packages; pkg++) {
5952 if (cpus[cpu].physical_package_id != pkg)
5961 * find all matching cpus on this pkg and set
5965 if ((cpus[cpux].physical_package_id == pkg) && (cpus[cpux].physical_node_id == node)) {
6308 * return 1 if config change requires a restart, else return 0
6377 * return 1 if config change requires a restart, else return 0
7435 "(min %d max %d des %d epp 0x%x window 0x%x pkg 0x%x)\n",
8519 const unsigned int config = read_perf_config(cai->perf_subsys, cai->perf_name);
8521 ret = open_perf_counter(cpu, type, config, *pfd_group, PERF_FORMAT_GROUP);
8548 const unsigned int config = read_perf_config(cai->perf_subsys, cai->perf_name);
8550 ret = open_perf_counter(cpu, type, config, cci->fd_perf, PERF_FORMAT_GROUP);
9286 "cpu %d pkg %d die %d l3 %d node %d lnode %d core %d thread %d\n",
9593 __func__, perf_device, pinfo->event, "config");