| /tools/perf/tests/shell/ |
| A D | stat_bpf_counters.sh | 44 …base_instructions=$(perf stat --no-big-num -e instructions -- $workload 2>&1 | awk '/instructions/… 45 …bpf_instructions=$(perf stat --no-big-num --bpf-counters -e instructions -- $workload 2>&1 | awk … 54 …stat_output=$(perf stat --no-big-num -e instructions/name=base_instructions/,instructions/name=bpf… 63 if ! perf stat -e instructions --bpf-counters true > /dev/null 2>&1; then 66 perf --no-pager stat -e instructions --bpf-counters true || true
|
| A D | stat+shadow_stat.sh | 17 perf stat -a --no-big-num -e cycles,instructions sleep 1 2>&1 | \ 18 grep -e cycles -e instructions | \ 56 perf stat -a -A --no-big-num -e cycles,instructions sleep 1 2>&1 | \
|
| A D | stat.sh | 146 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1 177 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions"
|
| A D | stat+std_output.sh | 14 …ons page-faults stalled-cycles-frontend stalled-cycles-backend cycles instructions branches branch…
|
| A D | stat+json_output.sh | 184 perf stat -j --metric-only -e instructions,cycles -o "${stat_output}" true
|
| /tools/testing/selftests/powerpc/pmu/ |
| A D | count_instructions.c | 29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument 38 thirty_two_instruction_loop(instructions >> 5); in do_count_loop() 45 expected = instructions + overhead; in do_count_loop() 53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop()
|
| A D | count_stcx_fail.c | 29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument 39 thirty_two_instruction_loop_with_ll_sc(instructions >> 5, &dummy); in do_count_loop() 47 expected = instructions + overhead + (events[2].result.value * 10); in do_count_loop() 57 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop()
|
| /tools/perf/Documentation/ |
| A D | itrace.txt | 1 i synthesize instructions events 34 for instructions events can be specified in units of: 36 i instructions 42 Also the call chain size (default 16, max. 1024) for instructions or 46 instructions or transactions events can be specified. 52 It is also possible to skip events generated (instructions, branches, transactions, 57 skips the first million instructions.
|
| A D | intel-hybrid.txt | 29 [Fixed Counter: Counts the number of instructions retired. Unit: cpu_atom] 31 [Number of instructions retired. Fixed Counter - architectural event. Unit: cpu_core] 184 cpu_core/instructions/, 185 cpu_atom/instructions/, 199 perf stat -e cpu_core/cycles/,cpu_atom/instructions/ 200 perf stat -e '{cpu_core/cycles/,cpu_core/instructions/}' 202 But '{cpu_core/cycles/,cpu_atom/instructions/}' will return
|
| A D | tips.txt | 2 Sample related events with: perf record -e '{cycles,instructions}:S' 40 To compute metrics for samples use perf record -e '{cycles,instructions}' ... ; perf script -F +met… 41 See assembly instructions with percentage: perf annotate <symbol> 60 To show IPC for sampling periods use perf record -e '{cycles,instructions}:S' and then browse conte…
|
| A D | perf-arm-spe.txt | 17 events down to individual instructions. Rather than being interrupt-driven, it picks an 33 architectural instructions or all micro-ops. Sampling happens at a programmable interval. The 101 If an implementation samples micro-operations instead of instructions, the results of sampling must 160 bit 1 - instruction retired (i.e. omit speculative instructions) 166 So to sample just retired instructions: 178 attributes/events of the SPE record. Because instructions can have multiple events associated with
|
| A D | perf-annotate.txt | 105 Show raw instruction encoding of assembly instructions. 160 samples (if they are memory accessing instructions) using DWARF debug 172 Show data type info in code annotation (for memory instructions only).
|
| /tools/testing/selftests/powerpc/pmu/ebb/ |
| A D | instruction_count_test.c | 25 static int do_count_loop(struct event *event, uint64_t instructions, in do_count_loop() argument 37 thirty_two_instruction_loop(instructions >> 5); in do_count_loop() 46 expected = instructions + overhead; in do_count_loop() 51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); in do_count_loop()
|
| /tools/memory-model/ |
| A D | linux-kernel.bell | 21 instructions R[Accesses] 22 instructions W[Accesses] 23 instructions RMW[Accesses] 37 instructions F[Barriers] 52 instructions SRCU[SRCU]
|
| /tools/testing/selftests/kvm/x86/ |
| A D | nested_emulation_test.c | 20 static struct emulated_instruction instructions[] = { variable 82 for (i = 0; i < ARRAY_SIZE(instructions); i++) { in guest_code() 83 struct emulated_instruction *insn = &instructions[i]; in guest_code()
|
| /tools/perf/tests/shell/attr/ |
| A D | test-stat-group1 | 3 args = -e '{cycles,instructions}' kill >/dev/null 2>&1
|
| A D | test-record-group1 | 3 args = --no-bpf-event -e '{cycles,instructions}' kill >/dev/null 2>&1
|
| A D | test-record-group2 | 3 args = --no-bpf-event -e '{cycles/period=1234000/,instructions/period=6789000/}:S' kill >/dev/nu…
|
| A D | test-record-group3 | 3 args = --no-bpf-event -e '{cycles/period=1234000/,instructions/period=6789000/}:S' kill >/dev/nu…
|
| A D | README | 52 perf record -e '{cycles,instructions}' kill (test-record-group1) 53 perf record -e '{cycles/period=1/,instructions/period=2/}:S' kill (test-record-group2) 70 perf stat -e '{cycles,instructions}' kill (test-stat-group1)
|
| /tools/arch/x86/kcpuid/ |
| A D | cpuid.csv | 57 0x1, 0, ecx, 25, aes , AES instructions 60 0x1, 0, ecx, 28, avx , AVX instructions support 85 0x1, 0, edx, 23, mmx , MMX instructions 87 0x1, 0, edx, 25, sse , SSE instructions 88 0x1, 0, edx, 26, sse2 , SSE2 instructions 137 # MONITOR/MWAIT instructions enumeration 208 0x7, 0, ebx, 19, adx , ADCX/ADOX instructions 225 0x7, 0, ecx, 5, waitpkg , WAITPKG instructions 272 0x7, 1, eax, 4, avx_vnni , AVX-VNNI instructions 692 0x80000001, 0, edx, 23, e_mmx , MMX instructions [all …]
|
| /tools/perf/util/ |
| A D | parse-events.l | 342 instructions { return hw_term(yyscanner, PERF_COUNT_HW_INSTRUCTIONS); } 345 branch-instructions|branches { return hw_term(yyscanner, PERF_COUNT_HW_BRANCH_INSTRUCTIONS); } 397 instructions { return sym(yyscanner, PERF_COUNT_HW_INSTRUCTIONS); } 400 branch-instructions|branches { return sym(yyscanner, PERF_COUNT_HW_BRANCH_INSTRUCTIONS); }
|
| A D | disasm.h | 22 struct ins *instructions; member
|
| A D | stat-shadow.c | 314 int aggr_idx, double instructions, in print_instructions() argument 325 "insn per cycle", instructions / cycles); in print_instructions() 330 if (max_stalled && instructions) { in print_instructions() 334 "stalled cycles per insn", max_stalled / instructions); in print_instructions()
|
| /tools/perf/tests/shell/lib/ |
| A D | stat_output.sh | 159 perf stat --metric-only $2 -e instructions,cycles true
|