/tools/perf/arch/x86/util/ |
D | unwind-libunwind.c | 11 int id; in libunwind__arch_reg_id() local 15 id = PERF_REG_X86_AX; in libunwind__arch_reg_id() 18 id = PERF_REG_X86_DX; in libunwind__arch_reg_id() 21 id = PERF_REG_X86_CX; in libunwind__arch_reg_id() 24 id = PERF_REG_X86_BX; in libunwind__arch_reg_id() 27 id = PERF_REG_X86_SI; in libunwind__arch_reg_id() 30 id = PERF_REG_X86_DI; in libunwind__arch_reg_id() 33 id = PERF_REG_X86_BP; in libunwind__arch_reg_id() 36 id = PERF_REG_X86_SP; in libunwind__arch_reg_id() 39 id = PERF_REG_X86_R8; in libunwind__arch_reg_id() [all …]
|
/tools/perf/util/ |
D | perf_regs.c | 5 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id) in perf_reg_value() argument 10 if (regs->cache_mask & (1 << id)) in perf_reg_value() 13 if (!(mask & (1 << id))) in perf_reg_value() 16 for (i = 0; i < id; i++) { in perf_reg_value() 21 regs->cache_mask |= (1 << id); in perf_reg_value() 22 regs->cache_regs[id] = regs->regs[idx]; in perf_reg_value() 25 *valp = regs->cache_regs[id]; in perf_reg_value()
|
D | perf_regs.h | 11 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id); 17 static inline const char *perf_reg_name(int id __maybe_unused) in perf_reg_name() 24 int id __maybe_unused) in perf_reg_value()
|
D | cpumap.h | 32 static inline int cpu_map__id_to_socket(int id) in cpu_map__id_to_socket() argument 34 return id >> 16; in cpu_map__id_to_socket() 37 static inline int cpu_map__id_to_cpu(int id) in cpu_map__id_to_cpu() argument 39 return id & 0xffff; in cpu_map__id_to_cpu()
|
D | evlist.c | 232 perf_evlist__find_tracepoint_by_id(struct perf_evlist *evlist, int id) in perf_evlist__find_tracepoint_by_id() argument 238 (int)evsel->attr.config == id) in perf_evlist__find_tracepoint_by_id() 471 int cpu, int thread, u64 id) in perf_evlist__id_hash() argument 476 sid->id = id; in perf_evlist__id_hash() 478 hash = hash_64(sid->id, PERF_EVLIST__HLIST_BITS); in perf_evlist__id_hash() 483 int cpu, int thread, u64 id) in perf_evlist__id_add() argument 485 perf_evlist__id_hash(evlist, evsel, cpu, thread, id); in perf_evlist__id_add() 486 evsel->id[evsel->ids++] = id; in perf_evlist__id_add() 495 u64 id; in perf_evlist__id_add_fd() local 498 ret = ioctl(fd, PERF_EVENT_IOC_ID, &id); in perf_evlist__id_add_fd() [all …]
|
D | event.h | 51 u64 id; member 64 u64 id; member 70 u64 id; member 107 u64 id; member 151 u64 id; member 223 u64 id[]; member 330 const char *perf_event__name(unsigned int id);
|
/tools/power/cpupower/utils/idle_monitor/ |
D | snb_idle.c | 34 .id = C7, 41 .id = PC2, 48 .id = PC7, 61 static int snb_get_count(enum intel_snb_id id, unsigned long long *val, in snb_get_count() argument 66 switch (id) { in snb_get_count() 87 static int snb_get_count_percent(unsigned int id, double *percent, in snb_get_count_percent() argument 96 (current_count[id][cpu] - previous_count[id][cpu])) / in snb_get_count_percent() 100 snb_cstates[id].name, previous_count[id][cpu], in snb_get_count_percent() 101 current_count[id][cpu], cpu); in snb_get_count_percent() 104 snb_cstates[id].name, in snb_get_count_percent() [all …]
|
D | hsw_ext_idle.c | 36 .id = PC8, 44 .id = PC9, 51 .id = PC10, 64 static int hsw_ext_get_count(enum intel_hsw_ext_id id, unsigned long long *val, in hsw_ext_get_count() argument 69 switch (id) { in hsw_ext_get_count() 90 static int hsw_ext_get_count_percent(unsigned int id, double *percent, in hsw_ext_get_count_percent() argument 99 (current_count[id][cpu] - previous_count[id][cpu])) / in hsw_ext_get_count_percent() 103 hsw_ext_cstates[id].name, previous_count[id][cpu], in hsw_ext_get_count_percent() 104 current_count[id][cpu], cpu); in hsw_ext_get_count_percent() 107 hsw_ext_cstates[id].name, in hsw_ext_get_count_percent() [all …]
|
D | nhm_idle.c | 37 .id = C3, 44 .id = C6, 52 .id = PC3, 59 .id = PC6, 72 static int nhm_get_count(enum intel_nhm_id id, unsigned long long *val, in nhm_get_count() argument 77 switch (id) { in nhm_get_count() 102 static int nhm_get_count_percent(unsigned int id, double *percent, in nhm_get_count_percent() argument 111 (current_count[id][cpu] - previous_count[id][cpu])) / in nhm_get_count_percent() 115 nhm_cstates[id].name, previous_count[id][cpu], in nhm_get_count_percent() 116 current_count[id][cpu], cpu); in nhm_get_count_percent() [all …]
|
D | amd_fam14h_idle.c | 48 static int fam14h_nbp1_count(unsigned int id, unsigned long long *count, 55 .id = NON_PC0, 62 .id = PC1, 69 .id = PC6, 76 .id = NBP1, 102 switch (state->id) { in amd_fam14h_get_pci_info() 135 if (state->id == NBP1) { in amd_fam14h_init() 155 previous_count[state->id][cpu] = 0; in amd_fam14h_init() 171 if (state->id == NBP1) { in amd_fam14h_disable() 182 current_count[state->id][cpu] = val; in amd_fam14h_disable() [all …]
|
D | mperf_monitor.c | 31 static int mperf_get_count_freq(unsigned int id, unsigned long long *count, 39 .id = C0, 46 .id = Cx, 54 .id = AVG_FREQ, 117 static int mperf_get_count_percent(unsigned int id, double *percent, in mperf_get_count_percent() argument 126 if (id != C0 && id != Cx) in mperf_get_count_percent() 136 mperf_cstates[id].name, mperf_diff, tsc_diff); in mperf_get_count_percent() 141 mperf_cstates[id].name, mperf_diff, timediff); in mperf_get_count_percent() 145 if (id == Cx) in mperf_get_count_percent() 149 mperf_cstates[id].name, mperf_diff, aperf_diff, cpu); in mperf_get_count_percent() [all …]
|
D | cpuidle_sysfs.c | 27 static int cpuidle_get_count_percent(unsigned int id, double *percent, in cpuidle_get_count_percent() argument 30 unsigned long long statediff = current_count[cpu][id] in cpuidle_get_count_percent() 31 - previous_count[cpu][id]; in cpuidle_get_count_percent() 33 cpuidle_cstates[id].name, timediff, *percent, cpu); in cpuidle_get_count_percent() 41 cpuidle_cstates[id].name, timediff, statediff, *percent, cpu); in cpuidle_get_count_percent() 156 cpuidle_cstates[num].id = num; in cpuidle_register()
|
/tools/perf/scripts/python/ |
D | failed-syscalls-by-pid.py | 42 common_callchain, id, ret): argument 49 syscalls[common_comm][common_pid][id][ret] += 1 51 syscalls[common_comm][common_pid][id][ret] = 1 55 id, ret): argument 74 for id in id_keys: 75 print " syscall: %-16s\n" % syscall_name(id), 76 ret_keys = syscalls[comm][pid][id].keys() 77 …for ret, val in sorted(syscalls[comm][pid][id].iteritems(), key = lambda(k, v): (v, k), reverse =…
|
D | syscall-counts.py | 38 common_callchain, id, args): argument 43 syscalls[id] += 1 45 syscalls[id] = 1 49 id, args): argument 62 for id, val in sorted(syscalls.iteritems(), key = lambda(k, v): (v, k), \ 64 print "%-40s %10d\n" % (syscall_name(id), val),
|
D | syscall-counts-by-pid.py | 41 common_callchain, id, args): argument 47 syscalls[common_comm][common_pid][id] += 1 49 syscalls[common_comm][common_pid][id] = 1 53 id, args): argument 72 for id, val in sorted(syscalls[comm][pid].iteritems(), \ 74 print " %-38s %10d\n" % (syscall_name(id), val),
|
D | sctop.py | 47 common_callchain, id, args): argument 52 syscalls[id] += 1 54 syscalls[id] = 1 58 id, args): argument 73 for id, val in sorted(syscalls.iteritems(), key = lambda(k, v): (v, k), \ 76 print "%-40s %10d\n" % (syscall_name(id), val),
|
/tools/perf/Documentation/ |
D | asciidoc.conf | 58 <formalpara{id? id="{id}"}><title>{title}</title><para> 59 {title%}<literallayout{id? id="{id}"}>
|
/tools/testing/selftests/vm/ |
D | thuge-gen.c | 162 int id; in test_shmget() local 167 id = shmget(IPC_PRIVATE, size * NUM_PAGES, IPC_CREAT|0600|flags); in test_shmget() 168 if (id < 0) err("shmget"); in test_shmget() 171 if (shmctl(id, SHM_INFO, (void *)&i) < 0) err("shmctl"); in test_shmget() 175 Dprintf("id %d\n", id); in test_shmget() 176 char *map = shmat(id, NULL, 0600); in test_shmget() 179 shmctl(id, IPC_RMID, NULL); in test_shmget()
|
/tools/perf/tests/ |
D | parse-no-sample-id-all.c | 55 u64 id; member 81 .id = 1, in test__parse_no_sample_id_all() 90 .id = 2, in test__parse_no_sample_id_all()
|
D | parse-events.c | 1208 const int id; member 1216 .id = 0, 1221 .id = 1, 1226 .id = 2, 1231 .id = 3, 1236 .id = 4, 1241 .id = 5, 1246 .id = 6, 1251 .id = 7, 1256 .id = 8, [all …]
|
/tools/perf/arch/arm/include/ |
D | perf_regs.h | 17 static inline const char *perf_reg_name(int id) in perf_reg_name() argument 19 switch (id) { in perf_reg_name()
|
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.py | 76 def syscall_name(id): argument 78 return audit.audit_syscall_to_name(id, machine_id) 80 return str(id)
|
/tools/perf/arch/arm64/include/ |
D | perf_regs.h | 14 static inline const char *perf_reg_name(int id) in perf_reg_name() argument 16 switch (id) { in perf_reg_name()
|
/tools/testing/selftests/ipc/ |
D | msgque.c | 33 int fd, ret, id, i; in restore_queue() local 49 id = msgget(msgque->key, msgque->mode | IPC_CREAT | IPC_EXCL); in restore_queue() 50 if (id == -1) { in restore_queue() 55 if (id != msgque->msq_id) { in restore_queue() 57 id, msgque->msq_id); in restore_queue() 73 if (msgctl(id, IPC_RMID, 0)) in restore_queue()
|
/tools/perf/arch/x86/include/ |
D | perf_regs.h | 26 static inline const char *perf_reg_name(int id) in perf_reg_name() argument 28 switch (id) { in perf_reg_name()
|