| /kernel/linux/linux-5.10/tools/perf/tests/ |
| D | hists_output.c | 94 struct hist_entry *he; in del_hist_entries() local 109 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries() 111 rb_erase_cached(&he->rb_node_in, root_in); in del_hist_entries() 112 hist_entry__delete(he); in del_hist_entries() 118 #define COMM(he) (thread__comm_str(he->thread)) argument 119 #define DSO(he) (he->ms.map->dso->short_name) argument 120 #define SYM(he) (he->ms.sym->name) argument 121 #define CPU(he) (he->cpu) argument 122 #define PID(he) (he->thread->tid) argument 129 struct hist_entry *he; in test1() local [all …]
|
| D | hists_common.c | 177 struct hist_entry *he; in print_hists_in() local 179 he = rb_entry(node, struct hist_entry, rb_node_in); in print_hists_in() 181 if (!he->filtered) { in print_hists_in() 183 i, thread__comm_str(he->thread), in print_hists_in() 184 he->ms.map->dso->short_name, in print_hists_in() 185 he->ms.sym->name, he->stat.period); in print_hists_in() 204 struct hist_entry *he; in print_hists_out() local 206 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out() 208 if (!he->filtered) { in print_hists_out() 210 i, thread__comm_str(he->thread), he->thread->tid, in print_hists_out() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/tests/ |
| D | hists_output.c | 97 struct hist_entry *he; in del_hist_entries() local 112 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries() 114 rb_erase_cached(&he->rb_node_in, root_in); in del_hist_entries() 115 hist_entry__delete(he); in del_hist_entries() 131 #define COMM(he) (thread__comm_str(he->thread)) argument 132 #define DSO(he) (map__dso(he->ms.map)->short_name) argument 133 #define SYM(he) (he->ms.sym->name) argument 134 #define CPU(he) (he->cpu) argument 135 #define PID(he) (thread__tid(he->thread)) argument 142 struct hist_entry *he; in test1() local [all …]
|
| D | hists_common.c | 177 struct hist_entry *he; in print_hists_in() local 179 he = rb_entry(node, struct hist_entry, rb_node_in); in print_hists_in() 181 if (!he->filtered) { in print_hists_in() 182 struct dso *dso = map__dso(he->ms.map); in print_hists_in() 185 i, thread__comm_str(he->thread), in print_hists_in() 187 he->ms.sym->name, he->stat.period); in print_hists_in() 206 struct hist_entry *he; in print_hists_out() local 208 he = rb_entry(node, struct hist_entry, rb_node); in print_hists_out() 210 if (!he->filtered) { in print_hists_out() 211 struct dso *dso = map__dso(he->ms.map); in print_hists_out() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | hist.c | 34 struct hist_entry *he); 36 struct hist_entry *he); 38 struct hist_entry *he); 40 struct hist_entry *he); 311 static void hists__delete_entry(struct hists *hists, struct hist_entry *he); 313 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry() argument 315 u64 prev_period = he->stat.period; in hists__decay_entry() 321 he_stat__decay(&he->stat); in hists__decay_entry() 323 he_stat__decay(he->stat_acc); in hists__decay_entry() 324 decay_callchain(he->callchain); in hists__decay_entry() [all …]
|
| D | sort.c | 100 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf() argument 103 const char *comm = thread__comm_str(he->thread); in hist_entry__thread_snprintf() 106 return repsep_snprintf(bf, size, "%7d:%-*.*s", he->thread->tid, in hist_entry__thread_snprintf() 110 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter() argument 117 return th && he->thread != th; in hist_entry__thread_filter() 153 static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf, in hist_entry__comm_snprintf() argument 156 return repsep_snprintf(bf, size, "%-*.*s", width, width, comm__str(he->comm)); in hist_entry__comm_snprintf() 209 static int hist_entry__dso_snprintf(struct hist_entry *he, char *bf, in hist_entry__dso_snprintf() argument 212 return _hist_entry__dso_snprintf(he->ms.map, bf, size, width); in hist_entry__dso_snprintf() 215 static int hist_entry__dso_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__dso_filter() argument [all …]
|
| D | sort.h | 163 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument 165 return he->callchain_size != 0; in hist_entry__has_callchains() 168 int hist_entry__sym_snprintf(struct hist_entry *he, char *bf, size_t size, unsigned int width); 170 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument 172 return !list_empty(&he->pairs.node); in hist_entry__has_pairs() 175 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() argument 177 if (hist_entry__has_pairs(he)) in hist_entry__next_pair() 178 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair() 183 struct hist_entry *he) in hist_entry__add_pair() argument 185 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair() [all …]
|
| D | block-info.c | 116 int block_info__process_sym(struct hist_entry *he, struct block_hist *bh, in block_info__process_sym() argument 124 if (!he->ms.map || !he->ms.sym) in block_info__process_sym() 128 al.map = he->ms.map; in block_info__process_sym() 129 al.sym = he->ms.sym; in block_info__process_sym() 131 notes = symbol__annotation(he->ms.sym); in block_info__process_sym() 135 for (unsigned int i = 0; i < symbol__size(he->ms.sym); i++) { in block_info__process_sym() 144 init_block_info(bi, he->ms.sym, &ch[i], i, in block_info__process_sym() 197 struct hist_entry *he) in block_total_cycles_pct_entry() argument 200 struct block_info *bi = he->block_info; in block_total_cycles_pct_entry() 240 struct perf_hpp *hpp, struct hist_entry *he) in block_cycles_lbr_entry() argument [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | hist.c | 35 struct hist_entry *he); 37 struct hist_entry *he); 39 struct hist_entry *he); 41 struct hist_entry *he); 321 static void hists__delete_entry(struct hists *hists, struct hist_entry *he); 323 static bool hists__decay_entry(struct hists *hists, struct hist_entry *he) in hists__decay_entry() argument 325 u64 prev_period = he->stat.period; in hists__decay_entry() 331 he_stat__decay(&he->stat); in hists__decay_entry() 333 he_stat__decay(he->stat_acc); in hists__decay_entry() 334 decay_callchain(he->callchain); in hists__decay_entry() [all …]
|
| D | sort.c | 114 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf() argument 117 const char *comm = thread__comm_str(he->thread); in hist_entry__thread_snprintf() 120 return repsep_snprintf(bf, size, "%7d:%-*.*s", thread__tid(he->thread), in hist_entry__thread_snprintf() 124 static int hist_entry__thread_filter(struct hist_entry *he, int type, const void *arg) in hist_entry__thread_filter() argument 131 return th && RC_CHK_ACCESS(he->thread) != RC_CHK_ACCESS(th); in hist_entry__thread_filter() 163 static int hist_entry__simd_snprintf(struct hist_entry *he, char *bf, in hist_entry__simd_snprintf() argument 168 if (!he->simd_flags.arch) in hist_entry__simd_snprintf() 171 name = hist_entry__get_simd_name(&he->simd_flags); in hist_entry__simd_snprintf() 173 if (he->simd_flags.pred & SIMD_OP_FLAGS_PRED_EMPTY) in hist_entry__simd_snprintf() 175 else if (he->simd_flags.pred & SIMD_OP_FLAGS_PRED_PARTIAL) in hist_entry__simd_snprintf() [all …]
|
| D | sort.h | 168 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument 170 return he->callchain_size != 0; in hist_entry__has_callchains() 173 int hist_entry__sym_snprintf(struct hist_entry *he, char *bf, size_t size, unsigned int width); 175 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument 177 return !list_empty(&he->pairs.node); in hist_entry__has_pairs() 180 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() argument 182 if (hist_entry__has_pairs(he)) in hist_entry__next_pair() 183 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair() 188 struct hist_entry *he) in hist_entry__add_pair() argument 190 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair() [all …]
|
| D | block-info.c | 116 int block_info__process_sym(struct hist_entry *he, struct block_hist *bh, in block_info__process_sym() argument 124 if (!he->ms.map || !he->ms.sym) in block_info__process_sym() 128 al.map = he->ms.map; in block_info__process_sym() 129 al.sym = he->ms.sym; in block_info__process_sym() 131 notes = symbol__annotation(he->ms.sym); in block_info__process_sym() 135 for (unsigned int i = 0; i < symbol__size(he->ms.sym); i++) { in block_info__process_sym() 144 init_block_info(bi, he->ms.sym, &ch[i], i, in block_info__process_sym() 197 struct hist_entry *he) in block_total_cycles_pct_entry() argument 200 struct block_info *bi = he->block_info; in block_total_cycles_pct_entry() 240 struct perf_hpp *hpp, struct hist_entry *he) in block_cycles_lbr_entry() argument [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| D | nft_set_hash.c | 52 const struct nft_rhash_elem *he = data; in nft_rhash_obj() local 54 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj() 61 const struct nft_rhash_elem *he = ptr; in nft_rhash_cmp() local 63 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp() 65 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp() 67 if (nft_set_elem_expired(&he->ext)) in nft_rhash_cmp() 69 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp() 86 const struct nft_rhash_elem *he; in nft_rhash_lookup() local 93 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_lookup() 94 if (he != NULL) in nft_rhash_lookup() [all …]
|
| /kernel/linux/linux-6.6/net/netfilter/ |
| D | nft_set_hash.c | 52 const struct nft_rhash_elem *he = data; in nft_rhash_obj() local 54 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj() 61 const struct nft_rhash_elem *he = ptr; in nft_rhash_cmp() local 63 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp() 65 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp() 67 if (__nft_set_elem_expired(&he->ext, x->tstamp)) in nft_rhash_cmp() 69 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp() 87 const struct nft_rhash_elem *he; in nft_rhash_lookup() local 95 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_lookup() 96 if (he != NULL) in nft_rhash_lookup() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
| D | mt76_connac3_mac.c | 14 struct ieee80211_radiotap_he *he, in mt76_connac3_mac_decode_he_radiotap_ru() argument 50 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt76_connac3_mac_decode_he_radiotap_ru() 51 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt76_connac3_mac_decode_he_radiotap_ru() 120 struct ieee80211_radiotap_he *he; in mt76_connac3_mac_decode_he_radiotap() local 124 he = skb_push(skb, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap() 125 memcpy(he, &known, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap() 127 he->data3 = HE_PREP(DATA3_BSS_COLOR, BSS_COLOR, rxv[9]) | in mt76_connac3_mac_decode_he_radiotap() 129 he->data4 = HE_PREP(DATA4_SU_MU_SPTL_REUSE, SR_MASK, rxv[13]); in mt76_connac3_mac_decode_he_radiotap() 130 he->data5 = HE_PREP(DATA5_PE_DISAMBIG, PE_DISAMBIG, rxv[5]) | in mt76_connac3_mac_decode_he_radiotap() 134 he->data5 |= HE_BITS(DATA5_TXBF); in mt76_connac3_mac_decode_he_radiotap() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/ |
| D | builtin-c2c.c | 77 struct hist_entry he; member 156 return &c2c_he->he; in c2c_he_zalloc() 159 static void c2c_he_free(void *he) in c2c_he_free() argument 163 c2c_he = container_of(he, struct c2c_hist_entry, he); in c2c_he_free() 186 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists() argument 194 c2c_he = container_of(he, struct c2c_hist_entry, he); in he__get_c2c_hists() 266 struct hist_entry *he; in process_sample_event() local 298 he = hists__add_entry_ops(&c2c_hists->hists, &c2c_entry_ops, in process_sample_event() 301 if (he == NULL) in process_sample_event() 304 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event() [all …]
|
| D | builtin-diff.c | 272 static double period_percent(struct hist_entry *he, u64 period) in period_percent() argument 274 u64 total = hists__total_period(he->hists); in period_percent() 279 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument 281 double old_percent = period_percent(he, he->stat.period); in compute_delta() 289 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument 291 double old_period = he->stat.period ?: 1; in compute_ratio() 299 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff() argument 301 u64 old_period = he->stat.period; in compute_wdiff() 311 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta() argument 314 u64 he_total = he->hists->stats.total_period; in formula_delta() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/ |
| D | builtin-diff.c | 272 static double period_percent(struct hist_entry *he, u64 period) in period_percent() argument 274 u64 total = hists__total_period(he->hists); in period_percent() 279 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument 281 double old_percent = period_percent(he, he->stat.period); in compute_delta() 289 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument 291 double old_period = he->stat.period ?: 1; in compute_ratio() 299 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) in compute_wdiff() argument 301 u64 old_period = he->stat.period; in compute_wdiff() 311 static int formula_delta(struct hist_entry *he, struct hist_entry *pair, in formula_delta() argument 314 u64 he_total = he->hists->stats.total_period; in formula_delta() [all …]
|
| D | builtin-c2c.c | 81 struct hist_entry he; member 164 return &c2c_he->he; in c2c_he_zalloc() 173 static void c2c_he_free(void *he) in c2c_he_free() argument 177 c2c_he = container_of(he, struct c2c_hist_entry, he); in c2c_he_free() 200 he__get_c2c_hists(struct hist_entry *he, in he__get_c2c_hists() argument 208 c2c_he = container_of(he, struct c2c_hist_entry, he); in he__get_c2c_hists() 284 struct hist_entry *he; in process_sample_event() local 322 he = hists__add_entry_ops(&c2c_hists->hists, &c2c_entry_ops, in process_sample_event() 325 if (he == NULL) in process_sample_event() 328 c2c_he = container_of(he, struct c2c_hist_entry, he); in process_sample_event() [all …]
|
| /kernel/linux/linux-6.6/fs/reiserfs/ |
| D | README | 20 under the GPL, because he wants to know if it is okay to do so and put 21 a check in the mail to you (for non-trivial improvements) when he 22 makes his next sale. He makes no guarantees as to the amount if any, 23 though he feels motivated to motivate contributors, and you can surely 85 funding for the first 5.5 years, and one of the programmers. He owns 88 Vladimir Saveljev was one of the programmers, and he worked long hours 89 writing the cleanest code. He always made the effort to be the best he 92 to work the way he did, he is one of the most selfless men I know. 98 Vladimir throughout the project's development. He wrote a quite 99 substantial portion of the total code. He realized that there was a [all …]
|
| /kernel/linux/linux-5.10/fs/reiserfs/ |
| D | README | 20 under the GPL, because he wants to know if it is okay to do so and put 21 a check in the mail to you (for non-trivial improvements) when he 22 makes his next sale. He makes no guarantees as to the amount if any, 23 though he feels motivated to motivate contributors, and you can surely 85 funding for the first 5.5 years, and one of the programmers. He owns 88 Vladimir Saveljev was one of the programmers, and he worked long hours 89 writing the cleanest code. He always made the effort to be the best he 92 to work the way he did, he is one of the most selfless men I know. 98 Vladimir throughout the project's development. He wrote a quite 99 substantial portion of the total code. He realized that there was a [all …]
|
| /kernel/linux/linux-5.10/Documentation/core-api/ |
| D | errseq.rst | 49 Let me tell you a story about a worker drone. Now, he's a good worker 50 overall, but the company is a little...management heavy. He has to 52 from out of town and he's sure to test the poor fellow too. 54 They're all handing him work to do -- so much he can't keep track of who 56 just want to know when he's finished all of the work they've handed him so 57 far and whether he made any mistakes since they last asked. 59 He might have made the mistake on work they didn't actually hand him, 60 but he can't keep track of things at that level of detail, all he can 61 remember is the most recent mistake that he made. 90 whether he made any mistakes on any of it:: [all …]
|
| /kernel/linux/linux-6.6/Documentation/core-api/ |
| D | errseq.rst | 49 Let me tell you a story about a worker drone. Now, he's a good worker 50 overall, but the company is a little...management heavy. He has to 52 from out of town and he's sure to test the poor fellow too. 54 They're all handing him work to do -- so much he can't keep track of who 56 just want to know when he's finished all of the work they've handed him so 57 far and whether he made any mistakes since they last asked. 59 He might have made the mistake on work they didn't actually hand him, 60 but he can't keep track of things at that level of detail, all he can 61 remember is the most recent mistake that he made. 90 whether he made any mistakes on any of it:: [all …]
|
| /kernel/linux/linux-5.10/tools/perf/ui/stdio/ |
| D | hist.c | 381 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf() argument 385 u64 parent_samples = he->stat.period; in hist_entry_callchain__fprintf() 388 parent_samples = he->stat_acc->period; in hist_entry_callchain__fprintf() 392 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples, in hist_entry_callchain__fprintf() 396 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples, in hist_entry_callchain__fprintf() 400 return callchain__fprintf_flat(fp, &he->sorted_chain, total_samples); in hist_entry_callchain__fprintf() 403 return callchain__fprintf_folded(fp, &he->sorted_chain, total_samples); in hist_entry_callchain__fprintf() 414 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() argument 423 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf() 427 if (perf_hpp__should_skip(fmt, he->hists)) in __hist_entry__snprintf() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/ui/stdio/ |
| D | hist.c | 381 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, in hist_entry_callchain__fprintf() argument 385 u64 parent_samples = he->stat.period; in hist_entry_callchain__fprintf() 388 parent_samples = he->stat_acc->period; in hist_entry_callchain__fprintf() 392 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples, in hist_entry_callchain__fprintf() 396 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples, in hist_entry_callchain__fprintf() 400 return callchain__fprintf_flat(fp, &he->sorted_chain, total_samples); in hist_entry_callchain__fprintf() 403 return callchain__fprintf_folded(fp, &he->sorted_chain, total_samples); in hist_entry_callchain__fprintf() 414 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() argument 423 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf() 427 if (perf_hpp__should_skip(fmt, he->hists)) in __hist_entry__snprintf() [all …]
|