| /kernel/linux/linux-6.6/tools/perf/pmu-events/ |
| D | metric_test.py | 43 before = '(a + b + c + d) / (2 * e)' 44 after = before 45 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after) 49 before = r'topdown\-fe\-bound / topdown\-slots - 1' 50 after = before 51 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after) 55 before = r'arb@event\=0x81\,umask\=0x1@ + arb@event\=0x84\,umask\=0x1@' 56 after = before 57 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after) 60 before = r'a + 1e12 + b' [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | verifier_subprog_precision.c | 44 __msg("mark_precise: frame0: regs=r0 stack= before 6: (bf) r1 = r7") 45 __msg("mark_precise: frame0: regs=r0 stack= before 5: (27) r0 *= 4") 46 __msg("mark_precise: frame0: regs=r0 stack= before 11: (95) exit") 47 __msg("mark_precise: frame1: regs=r0 stack= before 10: (bf) r0 = r1") 48 __msg("mark_precise: frame1: regs=r1 stack= before 4: (85) call pc+5") 49 __msg("mark_precise: frame0: regs=r1 stack= before 3: (bf) r1 = r6") 50 __msg("mark_precise: frame0: regs=r6 stack= before 2: (b7) r6 = 3") 83 __msg("mark_precise: frame0: regs=r0 stack= before 8: (bf) r1 = r7") 84 __msg("mark_precise: frame0: regs=r0 stack= before 7: (27) r0 *= 4") 85 __msg("mark_precise: frame0: regs=r0 stack= before 5: (a5) if r0 < 0x4 goto pc+1") [all …]
|
| D | verifier_scalar_ids.c | 13 __msg("frame0: regs=r0,r1,r2 stack= before 4: (bf) r3 = r10") 14 __msg("frame0: regs=r0,r1,r2 stack= before 3: (bf) r2 = r0") 15 __msg("frame0: regs=r0,r1 stack= before 2: (bf) r1 = r0") 16 __msg("frame0: regs=r0 stack= before 1: (57) r0 &= 255") 17 __msg("frame0: regs=r0 stack= before 0: (85) call bpf_ktime_get_ns") 46 __msg("frame0: regs=r0,r1,r2 stack= before 5: (bf) r3 = r10") 48 __msg("frame0: regs=r0,r1,r2 stack= before 4: (05) goto pc+0") 49 __msg("frame0: regs=r0,r1,r2 stack= before 3: (bf) r2 = r0") 50 __msg("frame0: regs=r0,r1 stack= before 2: (bf) r1 = r0") 51 __msg("frame0: regs=r0 stack= before 1: (57) r0 &= 255") [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/ |
| D | precise.c | 43 regs=4 stack=0 before 25\ 44 regs=4 stack=0 before 24\ 45 regs=4 stack=0 before 23\ 46 regs=4 stack=0 before 22\ 47 regs=4 stack=0 before 20\ 50 regs=4 stack=0 before 19\ 51 regs=200 stack=0 before 18\ 52 regs=300 stack=0 before 17\ 53 regs=201 stack=0 before 15\ 54 regs=201 stack=0 before 14\ [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/verifier/ |
| D | precise.c | 42 mark_precise: frame0: regs=r2 stack= before 25\ 43 mark_precise: frame0: regs=r2 stack= before 24\ 44 mark_precise: frame0: regs=r2 stack= before 23\ 45 mark_precise: frame0: regs=r2 stack= before 22\ 46 mark_precise: frame0: regs=r2 stack= before 20\ 49 mark_precise: frame0: regs=r2,r9 stack= before 19\ 50 mark_precise: frame0: regs=r9 stack= before 18\ 51 mark_precise: frame0: regs=r8,r9 stack= before 17\ 52 mark_precise: frame0: regs=r0,r9 stack= before 15\ 53 mark_precise: frame0: regs=r0,r9 stack= before 14\ [all …]
|
| /kernel/linux/linux-5.10/tools/memory-model/Documentation/ |
| D | explanation.txt | 28 20. THE HAPPENS-BEFORE RELATION: hb 29 21. THE PROPAGATES-BEFORE RELATION: pb 149 private variables before using them. All that is beside the point; 162 instance, P1 might run entirely before P0 begins, in which case r1 and 163 r2 will both be 0 at the end. Or P0 might run entirely before P1 168 store to buf but before the store to flag. In this case, r1 and r2 196 Since r1 = 1, P0 must store 1 to flag before P1 loads 1 from 199 P1 loads from flag before loading from buf, since CPUs execute 202 P1 must load 0 from buf before P0 stores 1 to it; otherwise r2 206 P0 stores 1 to buf before storing 1 to flag, since it executes [all …]
|
| /kernel/linux/linux-6.6/tools/memory-model/Documentation/ |
| D | explanation.txt | 28 20. THE HAPPENS-BEFORE RELATION: hb 29 21. THE PROPAGATES-BEFORE RELATION: pb 150 private variables before using them. All that is beside the point; 163 instance, P1 might run entirely before P0 begins, in which case r1 and 164 r2 will both be 0 at the end. Or P0 might run entirely before P1 169 store to buf but before the store to flag. In this case, r1 and r2 197 Since r1 = 1, P0 must store 1 to flag before P1 loads 1 from 200 P1 loads from flag before loading from buf, since CPUs execute 203 P1 must load 0 from buf before P0 stores 1 to it; otherwise r2 207 P0 stores 1 to buf before storing 1 to flag, since it executes [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/bpf_skel/ |
| D | bpf_prog_profiler.bpf.c | 40 /* look up before reading, to reduce error */ in BPF_PROG() 55 struct bpf_perf_event_value *before, diff; in fexit_update_maps() local 58 before = bpf_map_lookup_elem(&fentry_readings, &zero); in fexit_update_maps() 60 if (before && before->counter) { in fexit_update_maps() 63 diff.counter = after->counter - before->counter; in fexit_update_maps() 64 diff.enabled = after->enabled - before->enabled; in fexit_update_maps() 65 diff.running = after->running - before->running; in fexit_update_maps() 83 /* read all events before updating the maps, to reduce error */ in BPF_PROG()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
| D | igc_diag.c | 39 u32 pat, val, before; in reg_pattern_test() local 45 before = rd32(reg); in reg_pattern_test() 53 wr32(reg, before); in reg_pattern_test() 56 wr32(reg, before); in reg_pattern_test() 65 u32 val, before; in reg_set_and_check() local 67 before = rd32(reg); in reg_set_and_check() 75 wr32(reg, before); in reg_set_and_check() 78 wr32(reg, before); in reg_set_and_check() 86 u32 value, before, after; in igc_reg_test() local 95 before = rd32(IGC_STATUS); in igc_reg_test() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/ |
| D | igc_diag.c | 39 u32 pat, val, before; in reg_pattern_test() local 45 before = rd32(reg); in reg_pattern_test() 53 wr32(reg, before); in reg_pattern_test() 56 wr32(reg, before); in reg_pattern_test() 65 u32 val, before; in reg_set_and_check() local 67 before = rd32(reg); in reg_set_and_check() 75 wr32(reg, before); in reg_set_and_check() 78 wr32(reg, before); in reg_set_and_check() 86 u32 value, before, after; in igc_reg_test() local 95 before = rd32(IGC_STATUS); in igc_reg_test() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | instrumented.h | 22 * before the actual read happens. 36 * before the actual write happens. 50 * before the actual write happens. 64 * before the actual read happens. 78 * before the actual write happens. 92 * inserted before the actual write happens. 107 * variants). The instrumentation must be inserted before the accesses. 118 * instrument_copy_from_user_before - add instrumentation before copy_from_user 124 * variants). The instrumentation should be inserted before the accesses. 155 * whether the instrumentation happens before or after the data is copied from [all …]
|
| D | entry-common.h | 99 * enable interrupts before invoking syscall_enter_from_user_mode_work(). 121 * syscall_enter_from_user_mode_work - Check and handle work before invoking 147 * before invoking a syscall 222 * function before return. Defaults to NOOP. 235 * arch_exit_to_user_mode - Architecture specific final work before 239 * function before return. Defaults to NOOP. 274 * is not suitable as the last step before returning to userspace. Must be 277 * The caller has to invoke syscall_exit_to_user_mode_work() before this. 282 * syscall_exit_to_user_mode_work - Handle work before returning to user mode 290 * invoke exit_to_user_mode() before actually switching to user mode to [all …]
|
| /kernel/linux/linux-5.10/tools/bpf/bpftool/skeleton/ |
| D | profiler.bpf.c | 52 /* look up before reading, to reduce error */ in BPF_PROG() 79 struct bpf_perf_event_value___local *before, diff; in fexit_update_maps() local 81 before = bpf_map_lookup_elem(&fentry_readings, &id); in fexit_update_maps() 83 if (before && before->counter) { in fexit_update_maps() 86 diff.counter = after->counter - before->counter; in fexit_update_maps() 87 diff.enabled = after->enabled - before->enabled; in fexit_update_maps() 88 diff.running = after->running - before->running; in fexit_update_maps() 108 /* read all events before updating the maps, to reduce error */ in BPF_PROG()
|
| /kernel/linux/linux-6.6/tools/bpf/bpftool/skeleton/ |
| D | profiler.bpf.c | 52 /* look up before reading, to reduce error */ in BPF_PROG() 79 struct bpf_perf_event_value___local *before, diff; in fexit_update_maps() local 81 before = bpf_map_lookup_elem(&fentry_readings, &id); in fexit_update_maps() 83 if (before && before->counter) { in fexit_update_maps() 86 diff.counter = after->counter - before->counter; in fexit_update_maps() 87 diff.enabled = after->enabled - before->enabled; in fexit_update_maps() 88 diff.running = after->running - before->running; in fexit_update_maps() 108 /* read all events before updating the maps, to reduce error */ in BPF_PROG()
|
| /kernel/linux/linux-5.10/arch/csky/include/asm/ |
| D | barrier.h | 14 * made by ld/st instructions before sync.s 19 * bar.brwarw: ordering barrier for all load/store instructions before it 20 * bar.brwarws: ordering barrier for all load/store instructions before it 22 * bar.brar: ordering barrier for all load instructions before it 23 * bar.brars: ordering barrier for all load instructions before it 25 * bar.bwaw: ordering barrier for all store instructions before it 26 * bar.bwaws: ordering barrier for all store instructions before it
|
| /kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
| D | thuge-gen.c | 4 Before running this huge pages for each huge page size must have been 128 unsigned long before, after; in test_mmap() local 131 before = read_free(size); in test_mmap() 138 Dprintf("before %lu after %lu diff %ld size %lu\n", in test_mmap() 139 before, after, before - after, size); in test_mmap() 140 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap() 149 unsigned long before, after; in test_shmget() local 152 before = read_free(size); in test_shmget() 170 Dprintf("before %lu after %lu diff %ld size %lu\n", in test_shmget() 171 before, after, before - after, size); in test_shmget() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
| D | thuge-gen.c | 4 Before running this huge pages for each huge page size must have been 145 unsigned long before, after; in test_mmap() local 148 before = read_free(size); in test_mmap() 155 Dprintf("before %lu after %lu diff %ld size %lu\n", in test_mmap() 156 before, after, before - after, size); in test_mmap() 157 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap() 166 unsigned long before, after; in test_shmget() local 169 before = read_free(size); in test_shmget() 187 Dprintf("before %lu after %lu diff %ld size %lu\n", in test_shmget() 188 before, after, before - after, size); in test_shmget() [all …]
|
| /kernel/linux/linux-6.6/Documentation/virt/kvm/x86/ |
| D | cpuid.rst | 11 mask-out some, or even all KVM-related cpuid features before launching 66 before enabling paravirtualized 70 before enabling paravirtualized 78 before enabling paravirtualized 86 before using paravirtualized 90 before using the second async 96 before using extended destination 99 KVM_FEATURE_HC_MAP_GPA_RANGE 16 guest checks this feature bit before 103 KVM_FEATURE_MIGRATION_CONTROL 17 guest checks this feature bit before
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | instrumented.h | 19 * before the actual read happens. 34 * before the actual write happens. 49 * before the actual write happens. 64 * before the actual read happens. 79 * before the actual write happens. 94 * inserted before the actual write happens. 109 * variants). The instrumentation must be inserted before the accesses. 126 * variants). The instrumentation should be inserted before the accesses.
|
| /kernel/linux/linux-5.10/Documentation/core-api/ |
| D | atomic_ops.rst | 43 initializer is used before runtime. If the initializer is used at runtime, a 44 proper implicit or explicit read memory barrier is needed before reading the 65 or explicit memory barrier is needed before the value set with the operation 155 variable a is set at boot time before the second CPU is brought online 213 include explicit memory barriers that are performed before and after 214 the operation. It must be done such that all memory operations before 219 before and after the atomic operation. 266 just before the operation. 319 "1" to obj->dead will be globally visible to other cpus before the 324 to other cpus before the "obj->dead = 1;" assignment. [all …]
|
| /kernel/linux/linux-6.6/Documentation/nvdimm/ |
| D | maintainer-entry-profile.rst | 25 before submitting, but it is not required. 32 Those tests need to be passed before the patches go upstream, but not 33 necessarily before initial posting. Contact the list if you need help 38 Before patches enabling a new _DSM family will be considered, it must 49 next merge window they should be sent before -rc4, and ideally 57 In general, please wait up to one week before pinging for feedback. A
|
| /kernel/linux/linux-5.10/Documentation/nvdimm/ |
| D | maintainer-entry-profile.rst | 25 before submitting, but it is not required. 32 Those tests need to be passed before the patches go upstream, but not 33 necessarily before initial posting. Contact the list if you need help 38 Before patches enabling a new _DSM family will be considered, it must 49 next merge window they should be sent before -rc4, and ideally 57 In general, please wait up to one week before pinging for feedback. A
|
| /kernel/linux/linux-5.10/Documentation/virt/kvm/ |
| D | cpuid.rst | 11 mask-out some, or even all KVM-related cpuid features before launching 66 before enabling paravirtualized 70 before enabling paravirtualized 78 before enabling paravirtualized 86 before using paravirtualized 90 before using the second async 96 before using extended destination
|
| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/ |
| D | pmae_handling_test.c | 29 static uint64_t before, after; variable 44 before = mfspr(SPRN_MMCR0); in syscall_ebb_callee() 50 if (before != after) in syscall_ebb_callee() 88 printf("Saw MMCR0 before 0x%lx after 0x%lx\n", before, after); in test_body()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/ |
| D | pmae_handling_test.c | 29 static uint64_t before, after; variable 44 before = mfspr(SPRN_MMCR0); in syscall_ebb_callee() 50 if (before != after) in syscall_ebb_callee() 88 printf("Saw MMCR0 before 0x%lx after 0x%lx\n", before, after); in test_body()
|