/linux/tools/perf/util/ |
H A D | event.c | 551 struct addr_location al; in perf_event__fprintf_text_poke() local 553 addr_location__init(&al); in perf_event__fprintf_text_poke() 554 al.map = maps__find(machine__kernel_maps(machine), tp->addr); in perf_event__fprintf_text_poke() 555 if (al.map && map__load(al.map) >= 0) { in perf_event__fprintf_text_poke() 556 al.addr = map__map_ip(al.map, tp->addr); in perf_event__fprintf_text_poke() 557 al.sym = map__find_symbol(al.map, al.addr); in perf_event__fprintf_text_poke() 558 if (al.sym) in perf_event__fprintf_text_poke() 559 ret += symbol__fprintf_symname_offs(al.sym, &al, fp); in perf_event__fprintf_text_poke() 561 addr_location__exit(&al); in perf_event__fprintf_text_poke() 642 struct addr_location *al) in thread__find_map() argument [all …]
|
H A D | dlfilter.c | 28 static void al_to_d_al(struct addr_location *al, struct perf_dlfilter_al *d_al) in al_to_d_al() argument 30 struct symbol *sym = al->sym; in al_to_d_al() 33 if (al->map) { in al_to_d_al() 34 struct dso *dso = map__dso(al->map); in al_to_d_al() 53 if (al->addr < sym->end) in al_to_d_al() 54 d_al->symoff = al->addr - sym->start; in al_to_d_al() 55 else if (al->map) in al_to_d_al() 56 d_al->symoff = al->addr - map__start(al->map) - sym->start; in al_to_d_al() 67 d_al->addr = al->addr; in al_to_d_al() 75 struct addr_location *al = d->al; in get_al() local [all …]
|
H A D | addr_location.c | 7 void addr_location__init(struct addr_location *al) in addr_location__init() argument 9 al->thread = NULL; in addr_location__init() 10 al->maps = NULL; in addr_location__init() 11 al->map = NULL; in addr_location__init() 12 al->sym = NULL; in addr_location__init() 13 al->srcline = NULL; in addr_location__init() 14 al->addr = 0; in addr_location__init() 15 al->level = 0; in addr_location__init() 16 al->filtered = 0; in addr_location__init() 17 al in addr_location__init() 28 addr_location__exit(struct addr_location * al) addr_location__exit() argument [all...] |
H A D | unwind-libdw.c | 44 static int __report_module(struct addr_location *al, u64 ip, in __report_module() argument 51 * Some callers will use al->sym, so we can't just use the in __report_module() 54 thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al); in __report_module() 56 if (al->map) in __report_module() 57 dso = map__dso(al->map); in __report_module() 70 base = map__start(al->map); in __report_module() 72 base = map__start(al->map) - map__pgoff(al->map); in __report_module() 113 struct addr_location al; in report_module() local 116 addr_location__init(&al); in report_module() 117 res = __report_module(&al, ip, ui); in report_module() [all …]
|
H A D | annotate.c | 431 struct annotation_line *al; in annotated_source__get_line() local 433 list_for_each_entry(al, &src->source, node) { in annotated_source__get_line() 434 if (al->offset == offset) in annotated_source__get_line() 435 return al; in annotated_source__get_line() 442 struct annotation_line *al; in annotation__count_insn() local 445 al = annotated_source__get_line(notes->src, start); in annotation__count_insn() 446 if (al == NULL) in annotation__count_insn() 449 list_for_each_entry_from(al, ¬es->src->source, node) { in annotation__count_insn() 450 if (al->offset == -1) in annotation__count_insn() 452 if ((u64)al->offset > end) in annotation__count_insn() [all …]
|
H A D | symbol_fprintf.c | 20 const struct addr_location *al, in __symbol__fprintf_symname_offs() argument 29 if (al && print_offsets) { in __symbol__fprintf_symname_offs() 30 if (al->addr < sym->end) in __symbol__fprintf_symname_offs() 31 offset = al->addr - sym->start; in __symbol__fprintf_symname_offs() 33 offset = al->addr - map__start(al->map) - sym->start; in __symbol__fprintf_symname_offs() 37 } else if (al && unknown_as_addr) in __symbol__fprintf_symname_offs() 38 return fprintf(fp, "[%#" PRIx64 "]", al->addr); in __symbol__fprintf_symname_offs() 44 const struct addr_location *al, in symbol__fprintf_symname_offs() argument 47 return __symbol__fprintf_symname_offs(sym, al, fals in symbol__fprintf_symname_offs() 51 __symbol__fprintf_symname(const struct symbol * sym,const struct addr_location * al,bool unknown_as_addr,FILE * fp) __symbol__fprintf_symname() argument [all...] |
H A D | db-export.c | 176 static int db_ids_from_al(struct db_export *dbe, struct addr_location *al, in db_ids_from_al() argument 181 if (al->map) { in db_ids_from_al() 182 struct dso *dso = map__dso(al->map); in db_ids_from_al() 184 err = db_export__dso(dbe, dso, maps__machine(thread__maps(al->thread))); in db_ids_from_al() 189 if (!al->sym) { in db_ids_from_al() 190 al->sym = symbol__new(al->addr, 0, 0, 0, "unknown"); in db_ids_from_al() 191 if (al->sym) in db_ids_from_al() 192 dso__insert_symbol(dso, al->sym); in db_ids_from_al() 195 if (al->sym) { in db_ids_from_al() 196 u64 *db_id = symbol__priv(al->sym); in db_ids_from_al() [all …]
|
H A D | data-convert-json.c | 122 u64 ip, struct addr_location *al) in output_sample_callchain_entry() argument 130 if (al && al->sym && al->sym->namelen) { in output_sample_callchain_entry() 131 struct dso *dso = al->map ? map__dso(al->map) : NULL; in output_sample_callchain_entry() 134 output_json_key_string(out, false, 5, "symbol", al->sym->name); in output_sample_callchain_entry() 157 struct addr_location al; in process_sample_event() local 161 addr_location__init(&al); in process_sample_event() 162 if (machine__resolve(machine, &al, sample) < 0) { in process_sample_event() 164 addr_location__exit(&al); in process_sample_event() 177 output_json_key_format(out, true, 3, "pid", "%i", thread__pid(al.thread)); in process_sample_event() 178 output_json_key_format(out, true, 3, "tid", "%i", thread__tid(al.thread)); in process_sample_event() [all …]
|
H A D | capstone.c | 76 struct addr_location al; in print_insn_x86() local 82 addr_location__init(&al); in print_insn_x86() 84 thread__find_symbol(thread, cpumode, op->imm, &al)) { in print_insn_x86() 86 printed += symbol__fprintf_symname_offs(al.sym, &al, fp); in print_insn_x86() 89 addr_location__exit(&al); in print_insn_x86() 92 addr_location__exit(&al); in print_insn_x86() 265 annotation_line__add(&dl->al, ¬es->src->source); in symbol__disassemble_capstone() 294 annotation_line__add(&dl->al, ¬es->src->source); in symbol__disassemble_capstone() 305 dl = list_first_entry(list, struct disasm_line, al.node); in symbol__disassemble_capstone() 307 list_del_init(&dl->al.node); in symbol__disassemble_capstone() [all …]
|
H A D | hist.c | 683 const struct addr_location *al, in hists__findnew_entry() argument 757 he_stat__add_cpumode_period(&he->stat, al->cpumode, period); in hists__findnew_entry() 759 he_stat__add_cpumode_period(he->stat_acc, al->cpumode, period); in hists__findnew_entry() 795 struct addr_location *al, in __hists__add_entry() argument 805 struct namespaces *ns = thread__namespaces(al->thread); in __hists__add_entry() 807 .thread = al->thread, in __hists__add_entry() 808 .comm = thread__comm(al->thread), in __hists__add_entry() 815 .maps = al->maps, in __hists__add_entry() 816 .map = al->map, in __hists__add_entry() 817 .sym = al->sym, in __hists__add_entry() [all …]
|
/linux/tools/perf/ui/browsers/ |
H A D | annotate.c | 67 struct annotation_line *al = list_entry(entry, struct annotation_line, node); in disasm_line__filter() local 68 return annotation_line__filter(al); in disasm_line__filter() 118 struct annotation_line *al = list_entry(entry, struct annotation_line, node); in annotate_browser__write() local 149 annotation_line__write(al, notes, &ops, &apd); in annotate_browser__write() 152 ab->selection = al; in annotate_browser__write() 157 struct disasm_line *pos = list_prev_entry(cursor, al.node); in is_fused() 161 while (pos && pos->al.offset == -1) { in is_fused() 162 pos = list_prev_entry(pos, al.node); in is_fused() 232 from = cursor->al.idx_asm; in annotate_browser__draw_current_jump() 235 from = (u64)cursor->al.idx; in annotate_browser__draw_current_jump() [all …]
|
/linux/fs/ntfs3/ |
H A D | attrlist.c | 297 typeof(ni->attr_list) *al = &ni->attr_list; in al_add_le() local 303 old_size = al->size; in al_add_le() 310 off = PtrOffset(al->le, le); in al_add_le() 318 memcpy(ptr, al->le, off); in al_add_le() 321 kvfree(al->le); in al_add_le() 322 al->le = ptr; in al_add_le() 328 al->size = new_size; in al_add_le() 339 err = attr_set_size(ni, ATTR_LIST, NULL, 0, &al->run, new_size, in al_add_le() 344 al->size = old_size; in al_add_le() 348 al->dirty = true; in al_add_le() [all …]
|
/linux/Documentation/translations/sp_SP/process/ |
H A D | adding-syscalls.rst | 12 al kernel Linux, más allá de la presentación y consejos normales en 19 La primera cosa a considerar cuando se agrega una llamada al sistema es si 20 alguna alternativa es adecuada en su lugar. Aunque las llamadas al sistema 29 construido junto al kernel principal. 32 notifica al userspace que algo ha pasado, entonces retornar un nuevo 33 descriptor de archivo para el objeto relevante permite al userspace 52 llamada al sistema multiplexada que esconde mucha complejidad, así que 60 como con :manpage:`fcntl(2)`, esta llamada al sistema es un multiplexor 79 Para llamadas al sistema más simples que sólo toman un par de argumentos, 81 flag a la llamada al sistema. Para asegurarse que el userspace pueda usar [all …]
|
H A D | submitting-patches.rst | 11 Para una persona o empresa que desee enviar un cambio al kernel Linux, 49 pregunte al maintainer si el árbol no está listado allí. 58 subyacente que le motivó a hacer ese trabajo. Convenza al revisor de que 62 Describa el impacto relativo al usuario. Cosas que estropeen el kernel y 84 al respecto en detalles técnicos. Es importante describir el cambio en 109 Cambié xyzzy para que haga frotz", como si estuviera dando órdenes al 113 referencia al ID SHA-1 del commit. Incluya también el resumen de una línea 122 También debe asegurarse de utilizar al menos los primeros doce caracteres 129 Si las discusiones relacionadas o cualquier otra información relativa al 132 ejemplo, agregue una etiqueta con una URL que haga referencia al informe en [all …]
|
/linux/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
H A D | al,alpine-smp | 2 Secondary CPU enable-method "al,alpine-smp" binding 5 This document describes the "al,alpine-smp" method for 7 "al,alpine-smp" enable method should be defined in the 10 Enable method name: "al,alpine-smp" 11 Compatible machines: "al,alpine" 17 "al,alpine-cpu-resume" and "al,alpine-nb-service". 26 - compatible : Should contain "al,alpine-cpu-resume". 35 enable-method = "al,alpine-smp"; 63 compatible = "al,alpine-cpu-resume"; 68 compatible = "al,alpine-sysfabric-service", "syscon";
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | al,alpine-msix.yaml | 4 $id: http://devicetree.org/schemas/interrupt-controller/al,alpine-msix.yaml# 14 const: al,alpine-msix 23 al,msi-base-spi: 27 al,msi-num-spis: 35 - al,msi-base-spi 36 - al,msi-num-spis 43 compatible = "al,alpine-msix"; 47 al,msi-base-spi = <160>; 48 al,msi-num-spis = <160>;
|
/linux/Documentation/hwmon/ |
H A D | smsc47b397.rst | 60 OUT DX,AL 62 IN AL,DX 64 AL contains the data in hex, the temperature in Celsius is the decimal 67 Ex: If AL contains 0x2A, the temperature is 42 degrees C. 151 OUT DX,AL 154 MOV AL,20H 155 OUT DX,AL 158 IN AL,DX 162 OUT DX,AL 179 OUT DX,AL [all …]
|
/linux/arch/arm/lib/ |
H A D | lshrdi3.S | 33 #define al r1 macro 36 #define al r0 macro 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 | ashrdi3.S | 33 #define al r1 macro 36 #define al r0 macro 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 | ashldi3.S | 33 #define al r1 macro 36 #define al r0 macro 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/net/ |
H A D | compat.c | 333 #define AL(x) ((x) * sizeof(u32)) macro 335 AL(0), AL(3), AL(3), AL(3), AL(2), AL(3), 336 AL(3), AL(3), AL(4), AL(4), AL(4), AL(6), 337 AL(6), AL(2), AL(5), AL(5), AL(3), AL(3), 338 AL(4), AL(5), AL(4) 340 #undef AL
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | amazon,al.yaml | 4 $id: http://devicetree.org/schemas/arm/amazon,al.yaml# 19 - const: al,alpine 24 - al,alpine-v2-evp 25 - const: al,alpine-v2 30 - amazon,al-alpine-v3-evp 31 - const: amazon,al-alpine-v3
|
/linux/include/uapi/linux/ |
H A D | input-event-codes.h | 72 * AL - Application Launch Button 196 #define KEY_SCALE 120 /* AL Compiz Scale (Expose) */ 217 #define KEY_HELP 138 /* AL Integrated Help Center */ 219 #define KEY_CALC 140 /* AL Calculator */ 223 #define KEY_FILE 144 /* AL Local Machine Browser */ 229 #define KEY_WWW 150 /* AL Internet Browser */ 231 #define KEY_COFFEE 152 /* AL Terminal Lock/Screensaver */ 252 #define KEY_CONFIG 171 /* AL Consumer Control Configuration */ 298 #define KEY_FINANCE 219 /* AL Checkbook/Finance */ 430 #define KEY_INFO 0x166 /* AL OE [all...] |
/linux/include/dt-bindings/input/ |
H A D | linux-event-codes.h | 72 * AL - Application Launch Button 196 #define KEY_SCALE 120 /* AL Compiz Scale (Expose) */ 217 #define KEY_HELP 138 /* AL Integrated Help Center */ 219 #define KEY_CALC 140 /* AL Calculator */ 223 #define KEY_FILE 144 /* AL Local Machine Browser */ 229 #define KEY_WWW 150 /* AL Internet Browser */ 231 #define KEY_COFFEE 152 /* AL Terminal Lock/Screensaver */ 252 #define KEY_CONFIG 171 /* AL Consumer Control Configuration */ 298 #define KEY_FINANCE 219 /* AL Checkbook/Finance */ 430 #define KEY_INFO 0x166 /* AL OE [all...] |
/linux/arch/alpha/math-emu/ |
H A D | sfp-util.h | 8 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 9 ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al))) 11 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 12 ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))
|