| /tools/sched_ext/include/scx/ |
| A D | enums.autogen.bpf.h | 7 const volatile u64 __SCX_OPS_NAME_LEN __weak; 10 const volatile u64 __SCX_SLICE_DFL __weak; 13 const volatile u64 __SCX_SLICE_INF __weak; 16 const volatile u64 __SCX_RQ_ONLINE __weak; 25 const volatile u64 __SCX_RQ_BAL_KEEP __weak; 49 const volatile u64 __SCX_DSQ_GLOBAL __weak; 52 const volatile u64 __SCX_DSQ_LOCAL __weak; 82 const volatile u64 __SCX_TASK_NONE __weak; 85 const volatile u64 __SCX_TASK_INIT __weak; 112 const volatile u64 __SCX_ENQ_HEAD __weak; [all …]
|
| A D | common.bpf.h | 53 void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) __ksym __weak; 54 void scx_bpf_dsq_insert_vtime(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 enq_flag… 234 u64 __base = (u64)&(base); \ 265 u64 __base = (u64)arr; \ 266 u64 __addr = (u64)&(arr[i]) - __base; \ 477 static inline bool time_after(u64 a, u64 b) in time_after() 489 static inline bool time_before(u64 a, u64 b) in time_before() 501 static inline bool time_after_eq(u64 a, u64 b) in time_after_eq() 513 static inline bool time_before_eq(u64 a, u64 b) in time_before_eq() 526 static inline bool time_in_range(u64 a, u64 b, u64 c) in time_in_range() [all …]
|
| /tools/perf/util/ |
| A D | svghelper.h | 9 void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end); 10 void svg_ubox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … 13 void svg_box(int Yslot, u64 start, u64 end, const char *type); 14 void svg_blocked(int Yslot, int cpu, u64 start, u64 end, const char *backtrace); 15 void svg_running(int Yslot, int cpu, u64 start, u64 end, const char *backtrace); 16 void svg_waiting(int Yslot, int cpu, u64 start, u64 end, const char *backtrace); 17 void svg_cpu_box(int cpu, u64 max_frequency, u64 turbo_frequency); 20 void svg_process(int cpu, u64 start, u64 end, int pid, const char *name, const char *backtrace); 21 void svg_cstate(int cpu, u64 start, u64 end, int type); 22 void svg_pstate(int cpu, u64 start, u64 end, u64 freq); [all …]
|
| A D | branch.h | 17 u64 value; 21 u64 in_tx:1; 22 u64 abort:1; 24 u64 type:4; 25 u64 spec:2; 27 u64 priv:3; 44 u64 from; 45 u64 to; 50 u64 nr; 67 u64 *entry = (u64 *)sample->branch_stack; in perf_sample__branch_entries() [all …]
|
| A D | sample.h | 12 u64 abi; 13 u64 mask; 14 u64 *regs; 23 u64 size; 28 u64 value; 38 u64 nr; 65 u64 size; 82 u64 ip; 84 u64 time; 85 u64 addr; [all …]
|
| A D | thread-stack.h | 57 u64 call_time; 58 u64 return_time; 59 u64 branch_count; 60 u64 insn_count; 61 u64 cyc_count; 62 u64 call_ref; 63 u64 return_ref; 64 u64 db_id; 83 u64 to_ip, u16 insn_len, u64 trace_nr, bool callstack, 87 size_t sz, u64 ip, u64 kernel_start); [all …]
|
| A D | db-export.h | 30 u64 db_id; 31 u64 comm_db_id; 32 u64 dso_db_id; 33 u64 sym_db_id; 35 u64 addr_dso_db_id; 36 u64 addr_sym_db_id; 38 u64 call_path_id; 63 u64 th_out_id, u64 comm_out_id, 64 u64 th_in_id, u64 comm_in_id, int flags); 70 u64 comm_last_db_id; [all …]
|
| A D | events_stats.h | 40 u64 total_lost; 41 u64 total_lost_samples; 42 u64 total_dropped_samples; 43 u64 total_aux_lost; 44 u64 total_aux_partial; 45 u64 total_aux_collision; 46 u64 total_invalid_chains; 58 u64 total_period; 59 u64 total_non_filtered_period; 60 u64 total_latency; [all …]
|
| A D | tsc.h | 12 u64 time_zero; 13 u64 time_cycles; 14 u64 time_mask; 25 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc); 26 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc); 27 u64 rdtsc(void); 28 u64 arch_get_tsc_freq(void);
|
| A D | map.h | 27 u64 start; in DECLARE_RC_STRUCT() 28 u64 end; in DECLARE_RC_STRUCT() 29 u64 pgoff; in DECLARE_RC_STRUCT() 30 u64 reloc; in DECLARE_RC_STRUCT() 108 static inline u64 map__dso_map_ip(const struct map *map, u64 ip) in map__dso_map_ip() 114 static inline u64 map__dso_unmap_ip(const struct map *map, u64 rip) in map__dso_unmap_ip() 119 static inline u64 map__map_ip(const struct map *map, u64 ip_or_rip) in map__map_ip() 136 u64 map__rip_2objdump(struct map *map, u64 rip); 139 u64 map__objdump_2mem(struct map *map, u64 ip); 142 u64 map__objdump_2rip(struct map *map, u64 ip); [all …]
|
| A D | ordered-events.h | 10 u64 timestamp; 11 u64 file_offset; 37 u64 last_flush; 38 u64 next_flush; 39 u64 max_timestamp; 40 u64 max_alloc_size; 41 u64 cur_alloc_size; 57 u64 timestamp, u64 file_offset, const char *file_path); 60 int ordered_events__flush_time(struct ordered_events *oe, u64 timestamp); 65 u64 ordered_events__first_time(struct ordered_events *oe); [all …]
|
| A D | block-info.h | 13 u64 start; 14 u64 end; 15 u64 cycles; 16 u64 cycles_aggr; 18 u64 total_cycles; 22 u64 *br_cntr; 31 u64 total_cycles; 32 u64 block_cycles; 48 u64 cycles; 61 u64 *block_cycles_aggr, u64 total_cycles, [all …]
|
| A D | kwork.h | 83 u64 time; 109 u64 id; 116 u64 nr_atoms; 187 u64 load; 188 u64 idle; 189 u64 irq; 190 u64 softirq; 191 u64 total; 240 u64 timestart; 241 u64 timeend; [all …]
|
| A D | callchain.h | 71 u64 hit; 76 u64 max_depth; 120 u64 ip; 124 u64 from_count; 126 u64 iter_count; 144 u64 ip; 164 u64 nr; 167 u64 pos; 206 int nr_loop_iter, u64 iter_cycles, u64 branch_from, 302 u64 *branch_count, u64 *predicted_count, [all …]
|
| A D | srcline.h | 14 char *get_srcline(struct dso *dso, u64 addr, struct symbol *sym, 15 bool show_sym, bool show_addr, u64 ip); 16 char *__get_srcline(struct dso *dso, u64 addr, struct symbol *sym, 18 u64 ip); 20 char *get_srcline_split(struct dso *dso, u64 addr, unsigned *line); 23 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline); 25 char *srcline__tree_find(struct rb_root_cached *tree, u64 addr); 39 u64 addr; 45 struct inline_node *dso__parse_addr_inlines(struct dso *dso, u64 addr, 54 struct inline_node *inlines__tree_find(struct rb_root_cached *tree, u64 addr);
|
| A D | block-range.h | 27 u64 start; 28 u64 end; 32 u64 coverage; 33 u64 entry; 34 u64 taken; 35 u64 pred; 72 extern struct block_range *block_range__find(u64 addr); 73 extern struct block_range_iter block_range__create(u64 start, u64 end);
|
| A D | cacheline.h | 14 static inline u64 cl_address(u64 address, bool double_cl) in cl_address() 16 u64 size = cacheline_size(); in cl_address() 25 static inline u64 cl_offset(u64 address, bool double_cl) in cl_offset() 27 u64 size = cacheline_size(); in cl_offset()
|
| /tools/testing/selftests/powerpc/pmu/sampling_tests/ |
| A D | misc.h | 39 extern u64 platform_extended_mask; 43 extern u64 perf_get_platform_reg_mask(void); 60 u64 get_reg_value(u64 *intr_regs, char *register_name); 65 static inline int get_mmcr0_fc56(u64 mmcr0, int pmc) in get_mmcr0_fc56() 75 static inline int get_mmcr0_pmao(u64 mmcr0, int pmc) in get_mmcr0_pmao() 120 static inline int get_mmcr1_rsq(u64 mmcr1, int pmc) in get_mmcr1_rsq() 125 static inline int get_mmcr2_fcs(u64 mmcr2, int pmc) in get_mmcr2_fcs() 130 static inline int get_mmcr2_fcp(u64 mmcr2, int pmc) in get_mmcr2_fcp() 155 static inline int get_mmcr2_fch(u64 mmcr2, int pmc) in get_mmcr2_fch() 191 static inline int get_mmcra_sm(u64 mmcra, int pmc) in get_mmcra_sm() [all …]
|
| /tools/include/linux/ |
| A D | math64.h | 8 static inline u64 mul_u64_u64_div64(u64 a, u64 b, u64 c) in mul_u64_u64_div64() 10 u64 q; in mul_u64_u64_div64() 22 static inline u64 mul_u64_u32_shr(u64 a, u32 b, unsigned int shift) in mul_u64_u32_shr() 30 static inline u64 mul_u32_u32(u32 a, u32 b) in mul_u32_u32() 37 return low | ((u64)high) << 32; in mul_u32_u32() 42 return (u64)a * b; in mul_u32_u32() 46 static inline u64 mul_u64_u32_shr(u64 a, u32 b, unsigned int shift) in mul_u64_u32_shr() 49 u64 ret; in mul_u64_u32_shr() 64 static inline u64 mul_u64_u64_div64(u64 a, u64 b, u64 c) in mul_u64_u64_div64() 66 u64 quot, rem; in mul_u64_u64_div64() [all …]
|
| /tools/testing/selftests/kvm/include/x86/ |
| A D | svm.h | 186 u64 base; 203 u64 efer; 205 u64 cr4; 206 u64 cr3; 207 u64 cr0; 208 u64 dr7; 209 u64 dr6; 211 u64 rip; 213 u64 rsp; 215 u64 rax; [all …]
|
| A D | evmcs.h | 15 #define u64 uint64_t macro 38 u64 host_cr0; 39 u64 host_cr3; 40 u64 host_cr4; 44 u64 host_rip; 51 u64 io_bitmap_a; 52 u64 io_bitmap_b; 53 u64 msr_bitmap; 148 u64 host_rsp; 198 u64 hv_vm_id; [all …]
|
| /tools/testing/selftests/sched_ext/ |
| A D | scx_test.h | 101 #_x, #_y, (u64)(_x), (u64)(_y)) 103 #_x, #_y, (u64)(_x), (u64)(_y)) 105 #_x, #_y, (u64)(_x), (u64)(_y)) 107 #_x, #_y, (u64)(_x), (u64)(_y)) 109 #_x, #_y, (u64)(_x), (u64)(_y)) 111 #_x, (u64)(_x)) 114 u64 __val = 0; \ 123 u64 __val = 0; \
|
| /tools/testing/selftests/mm/ |
| A D | pkey-arm64.h | 44 static inline u64 __read_pkey_reg(void) in __read_pkey_reg() 46 u64 pkey_reg = 0; in __read_pkey_reg() 54 static inline void __write_pkey_reg(u64 pkey_reg) in __write_pkey_reg() 56 u64 por = pkey_reg; in __write_pkey_reg() 94 static inline u64 set_pkey_bits(u64 reg, int pkey, u64 flags) in set_pkey_bits() 97 u64 new_val = POE_RWX; in set_pkey_bits() 100 reg &= ~((u64)PKEY_MASK << shift); in set_pkey_bits() 114 static inline u64 get_pkey_bits(u64 reg, int pkey) in get_pkey_bits() 130 static inline void aarch64_write_signal_pkey(ucontext_t *uctxt, u64 pkey) in aarch64_write_signal_pkey()
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_siphash.h | 8 static inline u64 rol64(u64 word, unsigned int shift) in rol64() 29 u64 v0 = SIPHASH_CONST_0; \ 30 u64 v1 = SIPHASH_CONST_1; \ 31 u64 v2 = SIPHASH_CONST_2; \ 32 u64 v3 = SIPHASH_CONST_3; \ 33 u64 b = ((u64)(len)) << 56; \ 51 static inline u64 siphash_2u64(const u64 first, const u64 second, const siphash_key_t *key) in siphash_2u64()
|
| /tools/perf/arch/x86/util/ |
| A D | tsc.c | 11 u64 rdtsc(void) in rdtsc() 17 return low | ((u64)high) << 32; in rdtsc() 27 static u64 cpuinfo_tsc_freq(void) in cpuinfo_tsc_freq() 29 u64 result = 0; in cpuinfo_tsc_freq() 46 result = (u64)float_result; in cpuinfo_tsc_freq() 60 u64 arch_get_tsc_freq(void) in arch_get_tsc_freq() 91 tsc = (u64)c * (u64)b / (u64)a; in arch_get_tsc_freq()
|