/external/oprofile/libpp/ |
H A D | arrange_profiles.cpp | 70 comp = numeric_compare(lt.cpu, rt.cpu); 93 return numeric_compare(lt.cpu, rt.cpu) < 0; 110 { "cpu", "specify cpu: or --merge cpu" }, 351 it->name += it->ptemplate.cpu; 352 it->longname = "Samples on CPU " + it->ptemplate.cpu; 395 if (!merge_by.cpu 446 size_t cpu = atoi(it->ptemplate.cpu.c_str()); local [all...] |
H A D | arrange_profiles.h | 27 bool cpu; member in struct:merge_option 45 std::string cpu; member in struct:profile_template
|
H A D | filename_spec.cpp | 38 if (!tid.match(rhs.tid) || !cpu.match(rhs.cpu) || 72 cpu.set(parsed.cpu);
|
H A D | filename_spec.h | 80 generic_spec<int> cpu; member in class:filename_spec
|
H A D | op_header.cpp | 245 op_cpu cpu = static_cast<op_cpu>(header.cpu_type); local 248 return op_xml_print_event(cpu, header.ctr_event, 251 return op_print_event(cpu, header.ctr_event, 258 op_cpu cpu = static_cast<op_cpu>(header.cpu_type); local 262 string cpu_name = op_get_cpu_name(cpu); 266 str += string("CPU: ") + op_get_cpu_type_str(cpu);
|
H A D | parse_filename.cpp | 26 // PP:3.19 event_name.count.unitmask.tgid.tid.cpu 54 result.cpu = parts[i++]; 240 cpu == parsed.tid; 249 << data.tid << " " << data.cpu << endl;
|
H A D | parse_filename.h | 33 std::string cpu; member in struct:parsed_filename
|
H A D | profile_spec.cpp | 70 parse_table["cpu"] = &profile_spec::parse_cpu; 179 cpu.set(str); 289 if (!comma_match(cpu, spec.cpu)) 475 if (sscanf(dirent->d_name, "cpu%d", &cpu_nr) != 1)
|
H A D | profile_spec.h | 134 comma_list<int> cpu; member in class:profile_spec
|
H A D | xml_utils.cpp | 42 return classes.v[0].ptemplate.cpu != "all"; 106 return classes.v[pclass].ptemplate.cpu; 130 size_t cpu = atoi(classes.v[p].ptemplate.cpu.c_str()); local 131 if (cpu > cpus) cpus = cpu; 286 // when --separate=cpu we will have an event_subclass array for each cpu 305 size_t cpu = atoi(pclass.ptemplate.cpu local [all...] |
/external/oprofile/module/ia64/ |
H A D | op_pmu.c | 56 uint cpu = op_cpu_id(); local 61 op_do_profile(cpu, regs->cr_iip, 1, ctr); 62 set_pmd_neg(oprof_data[cpu].ctr_count[ctr], ctr); 319 /* printk(KERN_ALERT "oprofile_IA64: pmu_start on cpu %d\n", 389 pmu_select_start(uint cpu) argument 391 if (cpu == op_cpu_id()) 394 smp_call_function(pmu_start, &cpu, 0, 1); 399 pmu_select_stop(uint cpu) argument 401 if (cpu == op_cpu_id()) 404 smp_call_function(pmu_stop, &cpu, 411 int cpu, i; local 491 uint const cpu = op_cpu_id(); local 525 uint const cpu = op_cpu_id(); local [all...] |
/external/oprofile/module/ |
H A D | oprofile.c | 58 inline static int need_wakeup(uint cpu, struct _oprof_data * data) argument 60 return data->nextbuf >= (data->buf_size - data->buf_watermark) && !oprof_ready[cpu]; 69 inline static void evict_op_entry(uint cpu, struct _oprof_data * data, long irq_enabled) argument 72 if (likely(!need_wakeup(cpu, data))) 103 oprof_ready[cpu] = 1; 117 void op_do_profile(uint cpu, long eip, long irq_enabled, int ctr) argument 119 struct _oprof_data * data = &oprof_data[cpu]; 127 evict_op_entry(cpu, data, irq_enabled); 135 static void stop_cpu_perfctr(int cpu) argument 138 int_ops->stop_cpu(cpu); 141 start_cpu_perfctr(int cpu) argument 338 int cpu; local 640 uint cpu; local 663 uint cpu; local 695 uint cpu; local [all...] |
H A D | oprofile.h | 41 /* per-cpu dynamic data */ 81 /* the cpu core type: CPU_PPRO, CPU_PII ... */ 144 void op_do_profile(uint cpu, long eip, long irq_enabled, int ctr);
|
/external/oprofile/module/x86/ |
H A D | cpu_type.c | 82 unsigned int cpu; 99 cpu = 0; 101 if (apic_id[cpu] & ~mask) { 105 cpu++; 106 } while (cpu < smp_num_cpus);
|
H A D | op_model_athlon.c | 85 static void athlon_check_ctrs(uint const cpu, argument 95 op_do_profile(cpu, instruction_pointer(regs), IRQ_ENABLED(regs), i); 96 CTR_WRITE(oprof_data[cpu].ctr_count[i], msrs, i);
|
H A D | op_model_p4.c | 388 int cpu; local 390 cpu = smp_processor_id(); 391 return (cpu_sibling_map[cpu] > cpu) ? 0 : 1; 623 static void p4_check_ctrs(unsigned int const cpu, argument 659 op_do_profile(cpu, instruction_pointer(regs), IRQ_ENABLED(regs), i); 660 CTR_WRITE(oprof_data[cpu].ctr_count[i], real); 663 CTR_WRITE(oprof_data[cpu].ctr_count[i], real);
|
H A D | op_model_ppro.c | 81 static void ppro_check_ctrs(uint const cpu, argument 90 op_do_profile(cpu, instruction_pointer(regs), IRQ_ENABLED(regs), i); 91 CTR_WRITE(oprof_data[cpu].ctr_count[i], msrs, i);
|
H A D | op_nmi.c | 48 uint const cpu = op_cpu_id(); local 49 struct op_msrs const * const msrs = &cpu_msrs[cpu]; 51 model->check_ctrs(cpu, msrs, regs); 58 uint const cpu = op_cpu_id(); local 59 struct op_msrs const * const msrs = &cpu_msrs[cpu]; 75 uint const cpu = op_cpu_id(); local 76 struct op_msrs const * const msrs = &cpu_msrs[cpu]; 78 if (info && (*((uint *)info) != cpu)) 87 uint const cpu = op_cpu_id(); local 88 struct op_msrs const * const msrs = &cpu_msrs[cpu]; 97 pmc_select_start(uint cpu) argument 106 pmc_select_stop(uint cpu) argument 117 int cpu, i; local 190 uint const cpu = op_cpu_id(); local 243 uint const cpu = op_cpu_id(); local [all...] |
H A D | op_rtc.c | 32 uint cpu = op_cpu_id(); local 47 op_do_profile(cpu, instruction_pointer(regs), IRQ_ENABLED(regs), 0); 127 static void rtc_start_cpu(uint cpu) argument 132 static void rtc_stop_cpu(uint cpu) argument
|
H A D | op_x86_model.h | 38 void (*check_ctrs)(uint const cpu,
|
/external/oprofile/opcontrol/ |
H A D | opcontrol.cpp | 104 const char *cpu; member in struct:cpuevents 241 if (strcmp(buf, cpuevents[i].cpu) == 0) { 391 * 'num_events' represents the cpu internal counter number 494 if (strlen(dirent->d_name) >= 4 && memcmp(dirent->d_name, "cpu", 3) == 0) {
|
/external/oprofile/pp/ |
H A D | common_option.cpp | 242 merge_by.cpu = false; 257 if (*cit == "cpu") { 258 merge_by.cpu = true; 270 merge_by.cpu = true;
|
H A D | oparchive_options.cpp | 92 merge_by.cpu = true;
|
H A D | opgprof_options.cpp | 62 merge_by.cpu = true;
|
/external/oprofile/utils/ |
H A D | opcontrol | 172 cpu: per CPU profiles 193 --cpu-buffer-size=num per-cpu buffer size in units (2.6 kernel) 566 cpu) 796 --cpu-buffer-size) 1319 echo "cpu-buffer-size not supported - ignored" >&2 1411 echo "Forcing required option --separate=cpu with SPU_CYCLES" 1489 --separate-cpu=$SEPARATE_CPU" 1577 SEPARATE="$SEPARATE cpu";
|