Home
last modified time | relevance | path

Searched refs:mem_info (Results 1 – 15 of 15) sorted by relevance

/tools/perf/util/
Dmem-events.h21 struct mem_info { struct
42 struct mem_info; argument
43 int perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
44 int perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
45 int perf_mem__snp_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
46 int perf_mem__lck_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
48 int perf_script__meminfo_scnprintf(char *bf, size_t size, struct mem_info *mem_info);
81 int c2c_decode_stats(struct c2c_stats *stats, struct mem_info *mi);
Dmem-events.c116 int perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info) in perf_mem__tlb_scnprintf() argument
125 if (mem_info) in perf_mem__tlb_scnprintf()
126 m = mem_info->data_src.mem_dtlb; in perf_mem__tlb_scnprintf()
178 int perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info) in perf_mem__lvl_scnprintf() argument
185 if (mem_info) in perf_mem__lvl_scnprintf()
186 m = mem_info->data_src.mem_lvl; in perf_mem__lvl_scnprintf()
198 if (mem_info && mem_info->data_src.mem_remote) { in perf_mem__lvl_scnprintf()
214 if (mem_info && mem_info->data_src.mem_lvl_num) { in perf_mem__lvl_scnprintf()
215 int lvl = mem_info->data_src.mem_lvl_num; in perf_mem__lvl_scnprintf()
244 int perf_mem__snp_scnprintf(char *out, size_t sz, struct mem_info *mem_info) in perf_mem__snp_scnprintf() argument
[all …]
Dsort.c1008 if (left->mem_info) in sort__daddr_cmp()
1009 l = left->mem_info->daddr.addr; in sort__daddr_cmp()
1010 if (right->mem_info) in sort__daddr_cmp()
1011 r = right->mem_info->daddr.addr; in sort__daddr_cmp()
1023 if (he->mem_info) { in hist_entry__daddr_snprintf()
1024 addr = he->mem_info->daddr.addr; in hist_entry__daddr_snprintf()
1025 map = he->mem_info->daddr.map; in hist_entry__daddr_snprintf()
1026 sym = he->mem_info->daddr.sym; in hist_entry__daddr_snprintf()
1037 if (left->mem_info) in sort__iaddr_cmp()
1038 l = left->mem_info->iaddr.addr; in sort__iaddr_cmp()
[all …]
Dsymbol.h280 struct mem_info *mem_info__new(void);
281 struct mem_info *mem_info__get(struct mem_info *mi);
282 void mem_info__put(struct mem_info *mi);
284 static inline void __mem_info__zput(struct mem_info **mi) in __mem_info__zput()
Dhist.c148 if (h->mem_info) { in hists__calc_col_len()
149 if (h->mem_info->daddr.sym) { in hists__calc_col_len()
150 symlen = (int)h->mem_info->daddr.sym->namelen + 4 in hists__calc_col_len()
164 if (h->mem_info->iaddr.sym) { in hists__calc_col_len()
165 symlen = (int)h->mem_info->iaddr.sym->namelen + 4 in hists__calc_col_len()
175 if (h->mem_info->daddr.map) { in hists__calc_col_len()
176 symlen = dso__name_len(h->mem_info->daddr.map->dso); in hists__calc_col_len()
447 if (he->mem_info) { in hist_entry__init()
448 map__get(he->mem_info->iaddr.map); in hist_entry__init()
449 map__get(he->mem_info->daddr.map); in hist_entry__init()
[all …]
Dsort.h137 struct mem_info *mem_info; member
Dhist.h16 struct mem_info;
141 struct mem_info *mi,
150 struct mem_info *mi,
Dmachine.h172 struct mem_info *sample__resolve_mem(struct perf_sample *sample,
Dsymbol.c2353 struct mem_info *mem_info__get(struct mem_info *mi) in mem_info__get()
2360 void mem_info__put(struct mem_info *mi) in mem_info__put()
2366 struct mem_info *mem_info__new(void) in mem_info__new()
2368 struct mem_info *mi = zalloc(sizeof(*mi)); in mem_info__new()
Dmachine.c1964 struct mem_info *sample__resolve_mem(struct perf_sample *sample, in sample__resolve_mem()
1967 struct mem_info *mi = mem_info__new(); in sample__resolve_mem()
/tools/perf/tests/
Dmem.c15 struct mem_info mi = { .data_src = data_src }; in check()
/tools/perf/
Dbuiltin-c2c.c267 struct mem_info *mi, *mi_dup; in process_sample_event()
499 if (he->mem_info) in dcacheline_entry()
500 addr = cl_address(he->mem_info->daddr.addr); in dcacheline_entry()
537 if (he->mem_info) in offset_entry()
538 addr = cl_offset(he->mem_info->daddr.al_addr); in offset_entry()
549 if (left->mem_info) in offset_cmp()
550 l = cl_offset(left->mem_info->daddr.addr); in offset_cmp()
551 if (right->mem_info) in offset_cmp()
552 r = cl_offset(right->mem_info->daddr.addr); in offset_cmp()
565 if (he->mem_info) in iaddr_entry()
[all …]
Dbuiltin-report.c144 struct mem_info *mi; in hist_iter__report_callback()
159 mi = he->mem_info; in hist_iter__report_callback()
Dbuiltin-script.c1670 struct mem_info mi = { .data_src.val = data_src }; in data_src__fprintf()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c676 struct mem_info mi = { .data_src.val = sample->data_src }; in set_sample_datasrc_in_dict()