/linux-master/tools/perf/util/ |
H A D | addr_location.c | 7 void addr_location__init(struct addr_location *al) argument 9 al->thread = NULL; 10 al->maps = NULL; 11 al->map = NULL; 12 al->sym = NULL; 13 al->srcline = NULL; 14 al->addr = 0; 15 al->level = 0; 16 al->filtered = 0; 17 al 28 addr_location__exit(struct addr_location *al) argument [all...] |
H A D | symbol_fprintf.c | 20 const struct addr_location *al, 29 if (al && print_offsets) { 30 if (al->addr < sym->end) 31 offset = al->addr - sym->start; 33 offset = al->addr - map__start(al->map) - sym->start; 37 } else if (al && unknown_as_addr) 38 return fprintf(fp, "[%#" PRIx64 "]", al->addr); 44 const struct addr_location *al, 47 return __symbol__fprintf_symname_offs(sym, al, fals 19 __symbol__fprintf_symname_offs(const struct symbol *sym, const struct addr_location *al, bool unknown_as_addr, bool print_offsets, FILE *fp) argument 43 symbol__fprintf_symname_offs(const struct symbol *sym, const struct addr_location *al, FILE *fp) argument 50 __symbol__fprintf_symname(const struct symbol *sym, const struct addr_location *al, bool unknown_as_addr, FILE *fp) argument [all...] |
H A D | addr_location.h | 26 void addr_location__init(struct addr_location *al); 27 void addr_location__exit(struct addr_location *al);
|
H A D | dlfilter.c | 28 static void al_to_d_al(struct addr_location *al, struct perf_dlfilter_al *d_al) argument 30 struct symbol *sym = al->sym; 33 if (al->map) { 34 struct dso *dso = map__dso(al->map); 53 if (al->addr < sym->end) 54 d_al->symoff = al->addr - sym->start; 55 else if (al->map) 56 d_al->symoff = al->addr - map__start(al->map) - sym->start; 67 d_al->addr = al 75 struct addr_location *al = d->al; local 84 struct addr_location *al = get_al(d); local 93 struct addr_location *al; local 168 struct addr_location al; local 200 struct addr_location *al; local 228 struct addr_location *al = d->al; local 252 struct addr_location *al; local 300 struct addr_location *al; local 490 dlfilter__do_filter_event(struct dlfilter *d, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine, struct addr_location *al, struct addr_location *addr_al, bool early) argument [all...] |
H A D | unwind-libdw.c | 44 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 D | event.c | 511 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 D | print_insn.c | 79 struct addr_location al; local 85 addr_location__init(&al); 87 thread__find_symbol(thread, cpumode, op->imm, &al)) { 89 printed += symbol__fprintf_symname_offs(al.sym, &al, fp); 92 addr_location__exit(&al); 95 addr_location__exit(&al); 102 static bool is64bitip(struct machine *machine, struct addr_location *al) argument 104 const struct dso *dso = al->map ? map__dso(al 146 sample__fprintf_insn_asm(struct perf_sample *sample, struct thread *thread, struct machine *machine, FILE *fp, struct addr_location *al) argument [all...] |
H A D | dlfilter.h | 35 struct addr_location *al; member in struct:dlfilter 63 struct addr_location *al, 74 struct addr_location *al, 79 return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, false); 87 struct addr_location *al, 92 return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, true); 69 dlfilter__filter_event(struct dlfilter *d, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine, struct addr_location *al, struct addr_location *addr_al) argument 82 dlfilter__filter_event_early(struct dlfilter *d, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine, struct addr_location *al, struct addr_location *addr_al) argument
|
H A D | annotate.c | 382 struct annotation_line *al; local 384 list_for_each_entry(al, &src->source, node) { 385 if (al->offset == offset) 386 return al; 393 struct annotation_line *al; local 396 al = annotated_source__get_line(notes->src, start); 397 if (al == NULL) 400 list_for_each_entry_from(al, ¬es->src->source, node) { 401 if (al->offset == -1) 403 if ((u64)al 425 struct annotation_line *al; local 476 struct annotation_line *al; local 501 struct annotation_line *al; local 585 annotation_line__add(struct annotation_line *al, struct list_head *head) argument 696 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 836 struct annotation_line *al, *next; local 936 insert_source_line(struct rb_root *root, struct annotation_line *al) argument 985 __resort_source_line(struct rb_root *root, struct annotation_line *al) argument 1007 struct annotation_line *al; local 1025 struct annotation_line *al; local 1244 struct annotation_line *al; local 1300 struct annotation_line *al; local 1320 struct annotation_line *al, *n; local 1369 struct annotation_line *al; local 1400 struct annotation_line *al; local 1432 struct annotation_line *al; local 1486 struct annotation_line *al; local 1596 annotation_line__max_percent(struct annotation_line *al, struct annotation *notes, unsigned int percent_type) argument 1665 __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 1829 annotation_line__write(struct annotation_line *al, struct annotation *notes, struct annotation_write_ops *wops) argument [all...] |
H A D | db-export.c | 176 static int db_ids_from_al(struct db_export *dbe, struct addr_location *al, argument 181 if (al->map) { 182 struct dso *dso = map__dso(al->map); 184 err = db_export__dso(dbe, dso, maps__machine(al->maps)); 189 if (!al->sym) { 190 al->sym = symbol__new(al->addr, 0, 0, 0, "unknown"); 191 if (al->sym) 192 dso__insert_symbol(dso, al->sym); 195 if (al 241 struct addr_location al; local 348 db_export__sample(struct db_export *dbe, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al) argument [all...] |
/linux-master/arch/arm/lib/ |
H A D | ashrdi3.S | 33 #define al r1 define 36 #define al r0 define 45 movmi al, al, lsr r2 46 movpl al, ah, asr r3 47 ARM( orrmi al, al, ah, lsl ip ) 49 THUMB( orrmi al, al, r3 )
|
H A D | lshrdi3.S | 33 #define al r1 define 36 #define al r0 define 45 movmi al, al, lsr r2 46 movpl al, ah, lsr r3 47 ARM( orrmi al, al, ah, lsl ip ) 49 THUMB( orrmi al, al, r3 )
|
H A D | ashldi3.S | 33 #define al r1 define 36 #define al r0 define 46 movpl ah, al, lsl r3 47 ARM( orrmi ah, ah, al, lsr ip ) 48 THUMB( lsrmi r3, al, ip ) 50 mov al, al, lsl r2
|
/linux-master/arch/alpha/math-emu/ |
H A D | sfp-util.h | 8 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 9 ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al))) 11 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 12 ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))
|
/linux-master/arch/sparc/math-emu/ |
H A D | sfp-util_32.h | 7 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 14 "%rJ" ((USItype)(al)), \ 17 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 24 "rJ" ((USItype)(al)), \
|
/linux-master/fs/ntfs3/ |
H A D | attrlist.c | 297 typeof(ni->attr_list) *al = &ni->attr_list; 303 old_size = al->size; 310 off = PtrOffset(al->le, le); 318 memcpy(ptr, al->le, off); 321 kvfree(al->le); 322 al->le = ptr; 328 al->size = new_size; 339 err = attr_set_size(ni, ATTR_LIST, NULL, 0, &al->run, new_size, 344 al->size = old_size; 348 al [all...] |
/linux-master/fs/hpfs/ |
H A D | dentry.c | 41 unsigned al = len; local 44 hpfs_adjust_length(str, &al); 54 if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0))
|
/linux-master/arch/sh/math-emu/ |
H A D | sfp-util.h | 6 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 9 __x = (al) + (bl); \ 10 (sh) = (ah) + (bh) + (__x < (al)); \ 14 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 17 __x = (al) - (bl); \ 18 (sh) = (ah) - (bh) - (__x > (al)); \
|
/linux-master/tools/perf/ui/browsers/ |
H A D | annotate.c | 42 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/boot/ |
H A D | apm.c | 38 ireg.al = 0x04; 42 ireg.al = 0x03; 59 ireg.al = 0x00; 64 ireg.al = 0x04;
|
/linux-master/tools/perf/arch/powerpc/util/ |
H A D | skip-callchain-idx.c | 244 struct addr_location al; local 253 addr_location__init(&al); 256 thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al); 258 if (al.map) 259 dso = map__dso(al.map); 263 addr_location__exit(&al); 267 rc = check_return_addr(dso, map__start(al.map), ip); 270 dso->long_name, al.sym->name, ip, rc); 285 addr_location__exit(&al);
|
/linux-master/tools/perf/dlfilters/ |
H A D | dlfilter-test-api-v2.c | 110 * Return information about address (al->size must be set before 112 * when 'al' data is no longer needed. 114 __s32 (*resolve_address)(void *ctx, __u64 address, struct perf_dlfilter_al *al); 127 void (*al_cleanup)(void *ctx, struct perf_dlfilter_al *al); 246 const struct perf_dlfilter_al *al; local 248 al = perf_dlfilter_fns.resolve_ip(ctx); 249 if (!al) 252 CHECK(al->sym && !strcmp("foo", al->sym)); 253 CHECK(!al 275 const struct perf_dlfilter_al *al; local [all...] |
H A D | dlfilter-test-api-v0.c | 101 * Return information about address (al->size must be set before 104 __s32 (*resolve_address)(void *ctx, __u64 address, struct perf_dlfilter_al *al); 231 const struct perf_dlfilter_al *al; local 233 al = perf_dlfilter_fns.resolve_ip(ctx); 234 if (!al) 237 CHECK(al->sym && !strcmp("foo", al->sym)); 238 CHECK(!al->symoff); 260 const struct perf_dlfilter_al *al; local 262 al [all...] |
/linux-master/lib/crypto/mpi/ |
H A D | longlong.h | 114 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 121 "%r" ((USItype)(al)), \ 123 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 130 "r" ((USItype)(al)), \ 176 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 183 "%r" ((USItype)(al)), \ 185 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 192 "r" ((USItype)(al)), \ 263 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 270 "%1" ((USItype)(al)), \ [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | io-workarounds.c | 102 #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) \ 108 return bus->ops->name al; \ 109 return __do_##name al; \ 112 #define DEF_PCI_AC_NORET(name, at, al, space, aa) \ 118 bus->ops->name al; \ 121 __do_##name al; \ 131 #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) .name = iowa_##name, 132 #define DEF_PCI_AC_NORET(name, at, al, space, aa) .name = iowa_##name,
|