Searched refs:al (Results 1 - 25 of 156) sorted by last modified time

1234567

/linux-master/tools/perf/util/
H A Dannotate.c1188 struct annotation_line *al = notes->src->offsets[offset]; local
1190 if (al && al->cycles && al->cycles->ipc == 0.0) {
1191 al->cycles->ipc = ipc;
1224 struct annotation_line *al; local
1226 al = notes->src->offsets[offset];
1227 if (al && al->cycles == NULL) {
1228 al
1249 struct annotation_line *al = notes->src->offsets[offset]; local
1322 annotation_line__init(struct annotation_line *al, struct annotate_args *args, int nr) argument
1333 annotation_line__exit(struct annotation_line *al) argument
1342 struct annotation_line *al; local
1468 annotation_line__add(struct annotation_line *al, struct list_head *head) argument
1579 annotation_line__print(struct annotation_line *al, struct symbol *sym, u64 start, struct evsel *evsel, u64 len, int min_pcnt, int printed, int max_lines, struct annotation_line *queue, int addr_fmt_width, int percent_type) argument
2386 struct annotation_line *al, *next; local
2477 insert_source_line(struct rb_root *root, struct annotation_line *al) argument
2526 __resort_source_line(struct rb_root *root, struct annotation_line *al) argument
2548 struct annotation_line *al; local
2566 struct annotation_line *al; local
2785 struct annotation_line *al; local
2858 struct annotation_line *al, *n; local
2913 struct annotation_line *al = notes->src->offsets[offset]; local
2937 struct annotation_line *al; local
2978 struct annotation_line *al; local
3031 struct annotation_line *al; local
3140 annotation_line__max_percent(struct annotation_line *al, struct annotation *notes, unsigned int percent_type) argument
3208 __annotation_line__write(struct annotation_line *al, struct annotation *notes, bool first_line, bool current_entry, bool change_color, int width, void *obj, unsigned int percent_type, int (*obj__set_color)(void *obj, int color), void (*obj__set_percent_color)(void *obj, double percent, bool current), int (*obj__set_jumps_percent_color)(void *obj, int nr, bool current), void (*obj__printf)(void *obj, const char *fmt, ...), void (*obj__write_graph)(void *obj, int graph)) argument
3370 annotation_line__write(struct annotation_line *al, struct annotation *notes, struct annotation_write_ops *wops) argument
3887 struct addr_location al; local
[all...]
H A Dunwind-libunwind-local.c432 struct addr_location al; local
435 addr_location__init(&al);
436 thread__find_map(ui->thread, PERF_RECORD_MISC_USER, ip, &al);
437 ret = map__get(al.map);
438 addr_location__exit(&al);
658 struct addr_location al; local
661 addr_location__init(&al);
662 e.ms.sym = thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al);
664 e.ms.map = al.map;
665 e.ms.maps = al
[all...]
H A Dunwind-libdw.c44 static int __report_module(struct addr_location *al, u64 ip, argument
51 * Some callers will use al->sym, so we can't just use the
54 thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al);
56 if (al->map)
57 dso = map__dso(al->map);
70 base = map__start(al->map);
72 base = map__start(al->map) - map__pgoff(al->map);
110 struct addr_location al; local
113 addr_location__init(&al);
127 struct addr_location al; local
161 struct addr_location al; local
[all...]
H A Dtrace-event.h101 struct addr_location *al,
133 struct addr_location *al; member in struct:scripting_context
142 struct addr_location *al,
H A Dthread.c413 struct addr_location *al)
424 thread__find_symbol(thread, cpumodes[i], addr, al);
425 if (al->map)
445 struct addr_location al; local
452 addr_location__init(&al);
453 if (!thread__find_map(thread, cpumode, ip, &al)) {
454 addr_location__exit(&al);
458 dso = map__dso(al.map);
460 if (!dso || dso->data.status == DSO_DATA_STATUS_ERROR || map__load(al.map) < 0) {
461 addr_location__exit(&al);
412 thread__find_cpumode_addr_location(struct thread *thread, u64 addr, struct addr_location *al) argument
[all...]
H A Dthread.h114 struct addr_location *al);
116 struct addr_location *al);
119 u64 addr, struct addr_location *al);
121 u64 addr, struct addr_location *al);
124 struct addr_location *al);
346 void thread__resolve(struct thread *thread, struct addr_location *al,
H A Dprint_insn.c75 struct addr_location al; local
81 addr_location__init(&al);
83 thread__find_symbol(thread, sample->cpumode, op->imm, &al)) {
85 printed += symbol__fprintf_symname_offs(al.sym, &al, fp);
86 addr_location__exit(&al);
89 addr_location__exit(&al);
H A Dmachine.h175 struct addr_location *al);
177 struct addr_location *al);
306 int machine__resolve(struct machine *machine, struct addr_location *al,
H A Dmachine.c2052 struct addr_location al; local
2054 addr_location__init(&al);
2062 thread__find_cpumode_addr_location(thread, ip, &al);
2065 ams->al_addr = al.addr;
2066 ams->al_level = al.level;
2067 ams->ms.maps = maps__get(al.maps);
2068 ams->ms.sym = al.sym;
2069 ams->ms.map = map__get(al.map);
2072 addr_location__exit(&al);
2079 struct addr_location al; local
2096 sample__resolve_mem(struct perf_sample *sample, struct addr_location *al) argument
2153 struct addr_location al; local
2226 sample__resolve_bstack(struct perf_sample *sample, struct addr_location *al) argument
[all...]
H A Devent.c511 struct addr_location al; local
513 addr_location__init(&al);
514 al.map = maps__find(machine__kernel_maps(machine), tp->addr);
515 if (al.map && map__load(al.map) >= 0) {
516 al.addr = map__map_ip(al.map, tp->addr);
517 al.sym = map__find_symbol(al.map, al
598 thread__find_map(struct thread *thread, u8 cpumode, u64 addr, struct addr_location *al) argument
663 thread__find_map_fb(struct thread *thread, u8 cpumode, u64 addr, struct addr_location *al) argument
676 thread__find_symbol(struct thread *thread, u8 cpumode, u64 addr, struct addr_location *al) argument
685 thread__find_symbol_fb(struct thread *thread, u8 cpumode, u64 addr, struct addr_location *al) argument
711 machine__resolve(struct machine *machine, struct addr_location *al, struct perf_sample *sample) argument
819 thread__resolve(struct thread *thread, struct addr_location *al, struct perf_sample *sample) argument
[all...]
H A Ddata-convert-json.c122 u64 ip, struct addr_location *al)
130 if (al && al->sym && al->sym->namelen) {
131 struct dso *dso = al->map ? map__dso(al->map) : NULL;
134 output_json_key_string(out, false, 5, "symbol", al->sym->name);
157 struct addr_location al; local
161 addr_location__init(&al);
162 if (machine__resolve(machine, &al, sampl
121 output_sample_callchain_entry(struct perf_tool *tool, u64 ip, struct addr_location *al) argument
[all...]
H A Dcallchain.c1119 struct evsel *evsel, struct addr_location *al,
1127 return thread__resolve_callchain(al->thread, cursor, evsel, sample,
1128 parent, al, max_stack);
1141 int fill_callchain_info(struct addr_location *al, struct callchain_cursor_node *node, argument
1146 maps__put(al->maps);
1147 al->maps = maps__get(node->ms.maps);
1148 map__put(al->map);
1149 al->map = map__get(node->ms.map);
1150 al->sym = node->ms.sym;
1151 al
1117 sample__resolve_callchain(struct perf_sample *sample, struct callchain_cursor *cursor, struct symbol **parent, struct evsel *evsel, struct addr_location *al, int max_stack) argument
[all...]
H A Dannotate.h171 struct annotation_line al; member in struct:disasm_line
195 static inline struct disasm_line *disasm_line(struct annotation_line *al) argument
197 return al ? container_of(al, struct disasm_line, al) : NULL;
230 void annotation_line__write(struct annotation_line *al, struct annotation *notes,
391 static inline bool annotation_line__filter(struct annotation_line *al) argument
393 return annotate_opts.hide_src_code && al->offset == -1;
/linux-master/tools/perf/ui/browsers/
H A Dannotate.c42 struct annotation_line *al = list_entry(entry, struct annotation_line, node); local
43 return annotation_line__filter(al);
93 struct annotation_line *al = list_entry(entry, struct annotation_line, node); local
115 annotation_line__write(al, notes, &ops);
118 ab->selection = al;
123 struct disasm_line *pos = list_prev_entry(cursor, al.node);
127 while (pos && pos->al.offset == -1) {
128 pos = list_prev_entry(pos, al.node);
197 from = cursor->al.idx_asm;
200 from = (u64)cursor->al
247 disasm_rb_tree__insert(struct annotate_browser *browser, struct annotation_line *al) argument
347 annotate_browser__find_next_asm_line( struct annotate_browser *browser, struct annotation_line *al) argument
373 struct annotation_line *al; local
417 struct annotation_line *al = &cursor->al; local
539 struct annotation_line *al = browser->selection; local
557 struct annotation_line *al; local
576 struct annotation_line *al = browser->selection; local
594 struct annotation_line *al; local
[all...]
/linux-master/arch/x86/include/asm/
H A Dnospec-branch.h89 movb $0xfc, %al; \
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c2881 * @al: MAC address list from virtchnl
2896 struct virtchnl_ether_addr_list *al)
2904 for (i = 0; i < al->num_elements; i++) {
2906 u8 *addr = al->list[i].addr;
3039 struct virtchnl_ether_addr_list *al = local
3047 !i40e_vc_isvalid_vsi_id(vf, al->vsi_id)) {
3059 ret = i40e_check_vf_permission(vf, al);
3066 for (i = 0; i < al->num_elements; i++) {
3069 f = i40e_find_mac(vsi, al->list[i].addr);
3071 f = i40e_add_mac_filter(vsi, al
2895 i40e_check_vf_permission(struct i40e_vf *vf, struct virtchnl_ether_addr_list *al) argument
3107 struct virtchnl_ether_addr_list *al = local
[all...]
/linux-master/drivers/nvme/target/
H A Dtrace.c265 u32 al = get_unaligned_le32(spc + 4); local
267 trace_seq_printf(p, "spsp0=%02x, spsp1=%02x, secp=%02x, al=%u",
268 spsp0, spsp1, secp, al);
/linux-master/drivers/nvme/host/
H A Dtrace.c407 u32 al = get_unaligned_le32(spc + 4); local
409 trace_seq_printf(p, "spsp0=%02x, spsp1=%02x, secp=%02x, al=%u",
410 spsp0, spsp1, secp, al);
/linux-master/drivers/mtd/nand/raw/
H A Dfsl_elbc_nand.c727 unsigned int al; local
776 al = 0;
778 al++;
780 al++;
782 priv->fmr |= al << FMR_AL_SHIFT;
/linux-master/arch/x86/kvm/
H A Demulate.c341 FOP1E(op##b, al) \
372 FOP2E(op##b, al, dl) \
390 FOP2E(op##b, al, cl) \
399 FOP2E(op##b, dl, al) \
422 #op " %al \n\t" \
446 "pushf; sbb %al, %al; popf \n\t"
3054 u8 al, old_al; local
3058 al = ctxt->dst.val;
3060 old_al = al;
3092 u8 al, ah; local
3114 u8 al = ctxt->dst.val & 0xff; local
[all...]
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c405 static unsigned long get_offset(struct symbol *sym, struct addr_location *al) argument
409 if (al->addr < sym->end)
410 offset = al->addr - sym->start;
412 offset = al->addr - map__start(al->map) - sym->start;
419 struct addr_location *al)
432 if (thread__resolve_callchain(al->thread, cursor, evsel,
526 struct addr_location al; local
548 addr_location__init(&al);
550 entries[i].from, &al);
417 python_process_callchain(struct perf_sample *sample, struct evsel *evsel, struct addr_location *al) argument
570 get_symoff(struct symbol *sym, struct addr_location *al, bool print_off, char *bf, int size) argument
615 struct addr_location al; local
792 set_sym_in_dict(PyObject *dict, struct addr_location *al, const char *dso_field, const char *dso_bid_field, const char *dso_map_start, const char *dso_map_end, const char *sym_field, const char *symoff_field) argument
842 get_perf_sample_dict(struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al, PyObject *callchain) argument
940 python_process_tracepoint(struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al) argument
1467 python_process_general_event(struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al) argument
1503 python_process_event(union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al) argument
[all...]
/linux-master/tools/perf/ui/gtk/
H A Dannotate.c41 if (dl->al.offset == (s64) -1)
46 entry = annotated_source__hist_entry(notes->src, evidx, dl->al.offset);
72 if (dl->al.offset == (s64) -1)
75 return scnprintf(buf, size, "%"PRIx64, start + dl->al.offset);
81 char *line = g_markup_escape_text(dl->al.line, -1);
89 if (dl->al.offset != (s64) -1)
135 list_for_each_entry(pos, &notes->src->source, al.node) {
164 list_for_each_entry_safe(pos, n, &notes->src->source, al.node) {
165 list_del_init(&pos->al.node);
/linux-master/tools/perf/
H A Dbuiltin-trace.c2445 struct addr_location al; local
2451 addr_location__init(&al);
2452 if (machine__resolve(trace->host, &al, sample) < 0)
2455 err = thread__resolve_callchain(al.thread, cursor, evsel, sample, NULL, NULL, max_stack);
2457 addr_location__exit(&al);
2901 struct addr_location *al,
2905 if ((verbose > 0 || print_dso) && al->map)
2906 fprintf(f, "%s@", map__dso(al->map)->long_name);
2908 if ((verbose > 0 || print_sym) && al->sym)
2909 fprintf(f, "%s+0x%" PRIx64, al
2900 print_location(FILE *f, struct perf_sample *sample, struct addr_location *al, bool print_dso, bool print_sym) argument
2923 struct addr_location al; local
[all...]
H A Dbuiltin-top.c727 struct addr_location *al, bool single,
735 perf_top__record_precise_ip(top, iter->he, iter->sample, evsel, al->addr);
737 hist__account_cycles(iter->sample->branch_stack, al, iter->sample,
750 struct addr_location al; local
775 addr_location__init(&al);
776 if (machine__resolve(machine, &al, sample) < 0)
780 thread__set_lbr_stitch_enable(al.thread, true);
784 al.cpumode == PERF_RECORD_MISC_KERNEL) {
790 al.map && map__has_symbols(al
[all...]
H A Dbuiltin-script.c1044 struct addr_location al; local
1077 addr_location__init(&al);
1078 if (!thread__find_map(thread, *cpumode, start, &al) || (dso = map__dso(al.map)) == NULL) {
1088 map__load(al.map);
1090 offset = map__map_ip(al.map, start);
1100 addr_location__exit(&al);
1149 struct addr_location al; local
1152 addr_location__init(&al);
1153 thread__find_map(thread, cpumode, addr, &al);
1179 struct addr_location al; local
1207 struct addr_location al; local
1399 struct addr_location al; local
1423 resolve_branch_sym(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al, u64 *ip) argument
1453 perf_sample__fprintf_callindent(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al, FILE *fp) argument
1556 perf_sample__fprintf_bts(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al, struct machine *machine, FILE *fp) argument
2111 show_event(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al) argument
2153 process_event(struct perf_script *script, struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al, struct machine *machine) argument
2371 struct addr_location al; local
[all...]

Completed in 263 milliseconds

1234567