/tools/perf/tests/shell/ |
D | daemon.sh | 9 local base=$3 25 if [ "${base}" != "${line_base}" ]; then 51 local base=$4 75 if [ "${base}" != "${line_base}" ]; then 148 local base=$(mktemp -d /tmp/perf.daemon.base.XXX) 152 base=BASE 161 sed -i -e "s|BASE|${base}|" ${config} 169 check_line_first ${line} daemon ${base} ${base}/output ${base}/lock "0" 174 check_line_other "${line}" size "-e cpu-clock -m 1 sleep 10" ${base}/session-size \ 175 ${base}/session-size/output ${base}/session-size/control \ [all …]
|
/tools/perf/tests/attr/ |
D | test-stat-detailed-3 | 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] 67 [event10:base-stat] [all …]
|
D | test-stat-detailed-2 | 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] 67 [event10:base-stat] [all …]
|
D | test-stat-detailed-1 | 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] 67 [event10:base-stat] [all …]
|
D | test-stat-default | 7 [event1:base-stat] 13 [event2:base-stat] 19 [event3:base-stat] 25 [event4:base-stat] 31 [event5:base-stat] 38 [event6:base-stat] 45 [event7:base-stat] 52 [event8:base-stat] 59 [event9:base-stat] 66 [event10:base-stat] [all …]
|
D | test-stat-group1 | 6 [event-1:base-stat] 11 [event-2:base-stat]
|
D | test-stat-group | 6 [event-1:base-stat] 11 [event-2:base-stat]
|
D | test-record-group1 | 6 [event-1:base-record] 12 [event-2:base-record]
|
D | test-record-group | 6 [event-1:base-record] 12 [event-2:base-record]
|
D | test-record-group2 | 6 [event-1:base-record] 16 [event-2:base-record]
|
/tools/testing/selftests/x86/ |
D | fsgsbase.c | 161 unsigned long base; in check_gs_value() local 169 base = read_base(GS); in check_gs_value() 170 if (base == value) { in check_gs_value() 176 base, sel); in check_gs_value() 179 if (syscall(SYS_arch_prctl, ARCH_GET_GS, &base) != 0) in check_gs_value() 181 if (base == value) { in check_gs_value() 187 base, sel); in check_gs_value() 193 unsigned long base, arch_base; in mov_0_gs() local 203 base = read_base(GS); in mov_0_gs() 206 if (base == arch_base) { in mov_0_gs() [all …]
|
/tools/testing/selftests/powerpc/mm/ |
D | pkey_siginfo.c | 93 unsigned int *base; member 100 unsigned int *base; in protect() local 105 base = ((struct region *) p)->base; in protect() 107 FAIL_IF_EXIT(!base); in protect() 130 FAIL_IF_EXIT(sys_pkey_mprotect(base, size, PROT_RWX, in protect() 143 unsigned int *base; in protect_access() local 147 base = ((struct region *) p)->base; in protect_access() 150 numinsns = size / sizeof(base[0]); in protect_access() 151 FAIL_IF_EXIT(!base); in protect_access() 161 base, base + numinsns); in protect_access() [all …]
|
D | bad_accesses.c | 122 unsigned long base, delta; in test() local 124 base = i << region_shift; in test() 127 if (delta >= base) in test() 130 addr = (base | delta) & ~((1 << page_shift) - 1); in test()
|
/tools/include/linux/ |
D | ring_buffer.h | 51 static inline u64 ring_buffer_read_head(struct perf_event_mmap_page *base) in ring_buffer_read_head() argument 59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head() 61 u64 head = READ_ONCE(base->data_head); in ring_buffer_read_head() 68 static inline void ring_buffer_write_tail(struct perf_event_mmap_page *base, in ring_buffer_write_tail() argument 71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
|
/tools/testing/selftests/rcutorture/bin/ |
D | config_override.sh | 14 base=$1 15 if test -r $base 19 echo Base file $base unreadable!!! 47 sh $T/script < $base
|
/tools/perf/ |
D | builtin-daemon.c | 74 char *base; member 90 char *base; member 222 if (daemon->base && strcmp(daemon->base, value)) { in server_config() 226 daemon->base = strdup(value); in server_config() 227 if (!daemon->base) in server_config() 239 daemon->base = strdup(value); in client_config() 240 if (!daemon->base) in client_config() 251 if (!daemon->base) { in check_base() 256 if (stat(daemon->base, &st)) { in check_base() 260 daemon->base); in check_base() [all …]
|
/tools/testing/selftests/gpio/ |
D | gpio-mockup-sysfs.sh | 25 local base=$(find ${platform%/*}/gpio/ -mindepth 2 -maxdepth 2 -type f -name base) 26 [ "$base" ] || fail "can't find base of $chip" 27 sysfs_nr=$(($(< "$base") + $offset))
|
/tools/lib/perf/ |
D | mmap.c | 39 map->base = mmap(NULL, perf_mmap__mmap_len(map), mp->prot, in perf_mmap__mmap() 41 if (map->base == MAP_FAILED) { in perf_mmap__mmap() 42 map->base = NULL; in perf_mmap__mmap() 53 if (map && map->base != NULL) { in perf_mmap__munmap() 54 munmap(map->base, perf_mmap__mmap_len(map)); in perf_mmap__munmap() 55 map->base = NULL; in perf_mmap__munmap() 70 BUG_ON(map->base && refcount_read(&map->refcnt) == 0); in perf_mmap__put() 78 ring_buffer_write_tail(md->base, tail); in perf_mmap__write_tail() 83 return ring_buffer_read_head(map->base); in perf_mmap__read_head() 88 struct perf_event_mmap_page *pc = map->base; in perf_mmap__empty() [all …]
|
/tools/perf/Documentation/ |
D | build-docdep.perl | 43 (my $base = $text) =~ s/\.txt$//) { 44 print "$base.html $base.xml : ", join(" ", keys %$included), "\n";
|
D | perf-daemon.txt | 58 --base=<PATH>:: 60 of base directory. Only one instance of server can run on 101 daemon.base: 109 Each perf record session is run in daemon.base/<NAME> directory. 118 base=/opt/perfdata 135 [603349:daemon] base: /opt/perfdata 139 First line is daemon process info with configured daemon base. 145 [603349:daemon] base: /opt/perfdata 150 base: /opt/perfdata/session-cycles 156 base: /opt/perfdata/session-sched [all …]
|
/tools/perf/jvmti/ |
D | jvmti_agent.c | 133 char *base, *p; in create_jit_cache_dir() local 141 base = getenv("JITDUMPDIR"); in create_jit_cache_dir() 142 if (!base) in create_jit_cache_dir() 143 base = getenv("HOME"); in create_jit_cache_dir() 144 if (!base) in create_jit_cache_dir() 145 base = "."; in create_jit_cache_dir() 149 ret = snprintf(jit_path, PATH_MAX, "%s/.debug/", base); in create_jit_cache_dir() 153 " HOME variables", base); in create_jit_cache_dir() 164 ret = snprintf(jit_path, PATH_MAX, "%s/.debug/jit", base); in create_jit_cache_dir() 168 " JITDUMPDIR, and HOME variables", base); in create_jit_cache_dir() [all …]
|
/tools/build/feature/ |
D | test-dwarf_getlocations.c | 7 Dwarf_Addr base, start, end; in main() local 12 return (int)dwarf_getlocations(&attr, offset, &base, &start, &end, &op, &nops); in main()
|
/tools/perf/util/ |
D | pmu.l | 9 static int value(int base) in value() argument 14 num = strtoul(perf_pmu_text, NULL, base); in value()
|
/tools/objtool/ |
D | check.c | 255 cfi->regs[i].base = CFI_UNDEFINED; in init_cfi_state() 256 cfi->vals[i].base = CFI_UNDEFINED; in init_cfi_state() 258 cfi->cfa.base = CFI_UNDEFINED; in init_cfi_state() 1915 if (arch_decode_hint_reg(hint->sp_reg, &cfi.cfa.base)) { in read_unwind_hints() 2217 if (cfi->cfa.base != initial_func_cfi.cfa.base || cfi->drap) in has_modified_stack_frame() 2227 if (cfi->regs[i].base != initial_func_cfi.regs[i].base || in has_modified_stack_frame() 2238 return reg->base == CFI_CFA && in check_reg_frame_pos() 2246 if (cfi->cfa.base == CFI_BP && in has_valid_stack_frame() 2251 if (cfi->drap && cfi->regs[CFI_BP].base == CFI_BP) in has_valid_stack_frame() 2263 if (cfa->base != CFI_SP && cfa->base != CFI_SP_INDIRECT) in update_cfi_state_regs() [all …]
|
/tools/testing/selftests/bpf/ |
D | trace_helpers.c | 147 ssize_t get_uprobe_offset(const void *addr, ssize_t base) in get_uprobe_offset() argument 170 return (ssize_t)(insn + 2) - base; in get_uprobe_offset() 172 return (uintptr_t)addr - base; in get_uprobe_offset() 177 ssize_t get_uprobe_offset(const void *addr, ssize_t base) in get_uprobe_offset() argument 179 return (uintptr_t)addr - base; in get_uprobe_offset()
|