Lines Matching refs:env

875 	fprintf(fp, "# hostname : %s\n", ph->env.hostname);  in print_hostname()
881 fprintf(fp, "# os release : %s\n", ph->env.os_release); in print_osrelease()
886 fprintf(fp, "# arch : %s\n", ph->env.arch); in print_arch()
892 fprintf(fp, "# cpudesc : %s\n", ph->env.cpu_desc); in print_cpudesc()
898 fprintf(fp, "# nrcpus online : %u\n", ph->env.nr_cpus_online); in print_nrcpus()
899 fprintf(fp, "# nrcpus avail : %u\n", ph->env.nr_cpus_avail); in print_nrcpus()
905 fprintf(fp, "# perf version : %s\n", ph->env.version); in print_version()
914 nr = ph->env.nr_cmdline; in print_cmdline()
915 str = ph->env.cmdline; in print_cmdline()
932 nr = ph->env.nr_sibling_cores; in print_cpu_topology()
933 str = ph->env.sibling_cores; in print_cpu_topology()
940 nr = ph->env.nr_sibling_threads; in print_cpu_topology()
941 str = ph->env.sibling_threads; in print_cpu_topology()
1099 fprintf(fp, "# total memory : %Lu kB\n", ph->env.total_mem); in print_total_mem()
1110 nr = ph->env.nr_numa_nodes; in print_numa_topology()
1111 str = ph->env.numa_nodes; in print_numa_topology()
1145 fprintf(fp, "# cpuid : %s\n", ph->env.cpuid); in print_cpuid()
1162 pmu_num = ph->env.nr_pmu_mappings; in print_pmu_mappings()
1168 str = ph->env.pmu_mappings; in print_pmu_mappings()
1387 ph->env.hostname = do_read_string(fd, ph); in process_hostname()
1388 return ph->env.hostname ? 0 : -ENOMEM; in process_hostname()
1395 ph->env.os_release = do_read_string(fd, ph); in process_osrelease()
1396 return ph->env.os_release ? 0 : -ENOMEM; in process_osrelease()
1403 ph->env.version = do_read_string(fd, ph); in process_version()
1404 return ph->env.version ? 0 : -ENOMEM; in process_version()
1411 ph->env.arch = do_read_string(fd, ph); in process_arch()
1412 return ph->env.arch ? 0 : -ENOMEM; in process_arch()
1429 ph->env.nr_cpus_avail = nr; in process_nrcpus()
1438 ph->env.nr_cpus_online = nr; in process_nrcpus()
1446 ph->env.cpu_desc = do_read_string(fd, ph); in process_cpudesc()
1447 return ph->env.cpu_desc ? 0 : -ENOMEM; in process_cpudesc()
1454 ph->env.cpuid = do_read_string(fd, ph); in process_cpuid()
1455 return ph->env.cpuid ? 0 : -ENOMEM; in process_cpuid()
1472 ph->env.total_mem = mem; in process_total_mem()
1544 ph->env.nr_cmdline = nr; in process_cmdline()
1556 ph->env.cmdline = strbuf_detach(&sb, NULL); in process_cmdline()
1580 ph->env.nr_sibling_cores = nr; in process_cpu_topology()
1592 ph->env.sibling_cores = strbuf_detach(&sb, NULL); in process_cpu_topology()
1601 ph->env.nr_sibling_threads = nr; in process_cpu_topology()
1612 ph->env.sibling_threads = strbuf_detach(&sb, NULL); in process_cpu_topology()
1638 ph->env.nr_numa_nodes = nr; in process_numa_topology()
1672 ph->env.numa_nodes = strbuf_detach(&sb, NULL); in process_numa_topology()
1702 ph->env.nr_pmu_mappings = pmu_num; in process_pmu_mappings()
1722 ph->env.pmu_mappings = strbuf_detach(&sb, NULL); in process_pmu_mappings()
1750 ph->env.nr_groups = nr_groups; in process_group_desc()