Home
last modified time | relevance | path

Searched refs:notes (Results 1 – 25 of 155) sorted by relevance

1234567

/linux/tools/perf/util/
H A Dannotate.c151 struct annotation *notes = symbol__annotation(sym); in symbol__annotate_zero_histograms() local
153 annotation__lock(notes); in symbol__annotate_zero_histograms()
154 if (notes->src != NULL) { in symbol__annotate_zero_histograms()
155 memset(notes->src->histograms, 0, in symbol__annotate_zero_histograms()
156 notes->src->nr_histograms * sizeof(*notes->src->histograms)); in symbol__annotate_zero_histograms()
157 hashmap__clear(notes->src->samples); in symbol__annotate_zero_histograms()
159 if (notes->branch && notes->branch->cycles_hist) { in symbol__annotate_zero_histograms()
160 memset(notes->branch->cycles_hist, 0, in symbol__annotate_zero_histograms()
163 annotation__unlock(notes); in symbol__annotate_zero_histograms()
265 struct annotated_branch *annotation__get_branch(struct annotation *notes) in annotation__get_branch() argument
[all …]
H A Dannotate.h213 void annotation_line__write(struct annotation_line *al, struct annotation *notes,
217 int __annotation__scnprintf_samples_period(struct annotation *notes,
362 static inline void annotation__init(struct annotation *notes __maybe_unused) in annotation__init()
365 void annotation__exit(struct annotation *notes);
367 void annotation__lock(struct annotation *notes) EXCLUSIVE_LOCK_FUNCTION(*notes);
368 void annotation__unlock(struct annotation *notes) UNLOCK_FUNCTION(*notes);
369 bool annotation__trylock(struct annotation *notes) EXCLUSIVE_TRYLOCK_FUNCTION(true, *notes);
371 static inline int annotation__cycles_width(struct annotation *notes) in annotation__cycles_width() argument
373 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
376 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width()
[all …]
H A Dcapstone.c329 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_capstone() local
370 annotation_line__add(&dl->al, &notes->src->source); in symbol__disassemble_capstone()
400 annotation_line__add(&dl->al, &notes->src->source); in symbol__disassemble_capstone()
407 struct list_head *list = &notes->src->source; in symbol__disassemble_capstone()
436 list_for_each_entry_safe(dl, tmp, &notes->src->source, al.node) { in symbol__disassemble_capstone()
449 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_capstone_powerpc() local
520 annotation_line__add(&dl->al, &notes->src->source); in symbol__disassemble_capstone_powerpc()
541 annotation_line__add(&dl->al, &notes->src->source); in symbol__disassemble_capstone_powerpc()
548 struct list_head *list = &notes->src->source; in symbol__disassemble_capstone_powerpc()
H A Dblock-info.c132 struct annotation *notes; in block_info__process_sym() local
144 notes = symbol__annotation(he->ms.sym); in block_info__process_sym()
145 if (!notes || !notes->branch || !notes->branch->cycles_hist) in block_info__process_sym()
147 ch = notes->branch->cycles_hist; in block_info__process_sym()
159 notes->branch->br_cntr, in block_info__process_sym()
H A Dllvm.c120 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_llvm() local
193 annotation_line__add(&dl->al, &notes->src->source); in symbol__disassemble_llvm()
254 annotation_line__add(&dl->al, &notes->src->source); in symbol__disassemble_llvm()
H A Ddisasm.c944 struct annotation *notes = symbol__annotation(args->ms->sym); in disasm_line__new() local
945 int nr = notes->src->nr_events; in disasm_line__new()
1018 struct annotation *notes = symbol__annotation(sym); in symbol__parse_objdump_line() local
1077 annotation_line__add(&dl->al, &notes->src->source); in symbol__parse_objdump_line()
1083 struct annotation *notes = symbol__annotation(sym); in delete_last_nop() local
1084 struct list_head *list = &notes->src->source; in delete_last_nop()
1237 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_raw() local
1281 annotation_line__add(&dl->al, &notes->src->source); in symbol__disassemble_raw()
1293 annotation_line__add(&dl->al, &notes->src->source); in symbol__disassemble_raw()
1299 struct list_head *list = &notes->src->source; in symbol__disassemble_raw()
[all …]
/linux/tools/perf/ui/browsers/
H A Dannotate.c73 struct annotation *notes = browser__annotation(browser); in ui_browser__jumps_percent_color() local
77 if (nr == notes->src->max_jump_sources) in ui_browser__jumps_percent_color()
117 struct annotation *notes = browser__annotation(browser); in annotate_browser__write() local
149 annotation_line__write(al, notes, &ops, &apd); in annotate_browser__write()
191 struct annotation *notes = symbol__annotation(sym); in annotate_browser__draw_current_jump() local
192 u8 pcnt_width = annotation__pcnt_width(notes); in annotate_browser__draw_current_jump()
224 target = annotated_source__get_line(notes->src, cursor->ops.target.offset); in annotate_browser__draw_current_jump()
239 width = annotation__cycles_width(notes); in annotate_browser__draw_current_jump()
243 pcnt_width + 2 + notes->src->widths.addr + width + cntr_width, in annotate_browser__draw_current_jump()
249 pcnt_width + 3 + notes->src->widths.addr + width + cntr_width, in annotate_browser__draw_current_jump()
[all …]
/linux/fs/netfs/
H A Dread_collect.c101 unsigned int *notes) in netfs_read_unlock_folios() argument
127 if (*notes & COPY_TO_CACHE) in netfs_read_unlock_folios()
150 *notes |= MADE_PROGRESS; in netfs_read_unlock_folios()
189 unsigned int notes; in netfs_collect_read_results() local
199 notes = BUFFERED; in netfs_collect_read_results()
201 notes = 0; in netfs_collect_read_results()
223 notes |= HIT_PENDING; in netfs_collect_read_results()
232 if (notes & BUFFERED) { in netfs_collect_read_results()
236 if (!(notes & HIT_PENDING) && in netfs_collect_read_results()
250 notes |= COPY_TO_CACHE; in netfs_collect_read_results()
[all …]
H A Dwrite_collect.c112 unsigned int *notes) in netfs_writeback_unlock_folios() argument
126 *notes |= MADE_PROGRESS; in netfs_writeback_unlock_folios()
164 *notes |= MADE_PROGRESS; in netfs_writeback_unlock_folios()
202 unsigned int notes; in netfs_collect_write_results() local
216 notes = NEED_UNLOCK; in netfs_collect_write_results()
218 notes = 0; in netfs_collect_write_results()
245 notes |= HIT_PENDING; in netfs_collect_write_results()
252 notes |= MADE_PROGRESS | SAW_FAILURE; in netfs_collect_write_results()
259 notes |= MADE_PROGRESS; in netfs_collect_write_results()
266 notes |= NEED_REASSESS | SAW_FAILURE; in netfs_collect_write_results()
[all …]
/linux/fs/proc/
H A Dkcore.c308 static void append_kcore_note(char *notes, size_t *i, const char *name, in append_kcore_note() argument
312 struct elf_note *note = (struct elf_note *)&notes[*i]; in append_kcore_note()
318 memcpy(&notes[*i], name, note->n_namesz); in append_kcore_note()
320 memcpy(&notes[*i], desc, descsz); in append_kcore_note()
434 char *notes; in read_kcore_iter() local
440 notes = kzalloc(kcore_notes_len, GFP_KERNEL); in read_kcore_iter()
441 if (!notes) { in read_kcore_iter()
446 append_kcore_note(notes, &i, NN_PRSTATUS, NT_PRSTATUS, &prstatus, in read_kcore_iter()
448 append_kcore_note(notes, &i, NN_PRPSINFO, NT_PRPSINFO, &prpsinfo, in read_kcore_iter()
450 append_kcore_note(notes, &i, NN_TASKSTRUCT, NT_TASKSTRUCT, current, in read_kcore_iter()
[all …]
/linux/tools/perf/ui/gtk/
H A Dannotate.c32 struct annotation *notes; in perf_gtk__get_percent() local
45 notes = symbol__annotation(sym); in perf_gtk__get_percent()
46 symhist = annotation__histogram(notes, evsel); in perf_gtk__get_percent()
47 entry = annotated_source__hist_entry(notes->src, evsel, dl->al.offset); in perf_gtk__get_percent()
109 struct annotation *notes; in perf_gtk__annotate_symbol() local
117 notes = symbol__annotation(sym); in perf_gtk__annotate_symbol()
136 list_for_each_entry(pos, &notes->src->source, al.node) { in perf_gtk__annotate_symbol()
166 list_for_each_entry_safe(pos, n, &notes->src->source, al.node) { in perf_gtk__annotate_symbol()
/linux/Documentation/ABI/stable/
H A Dsysfs-kernel-notes1 What: /sys/kernel/notes
4 Description: The /sys/kernel/notes file contains the binary representation
5 of the running vmlinux's .notes section.
/linux/Documentation/userspace-api/ioctl/
H A Dcdrom.rst164 notes:
195 notes:
252 notes:
279 notes:
304 notes:
331 notes:
358 notes:
436 notes:
469 notes:
487 notes:
[all …]
/linux/kernel/module/
H A Dsysfs.c153 unsigned int notes, loaded, i; in add_notes_attrs() local
160 notes = 0; in add_notes_attrs()
164 ++notes; in add_notes_attrs()
166 if (notes == 0) in add_notes_attrs()
169 notes_attrs = kzalloc_flex(*notes_attrs, attrs, notes); in add_notes_attrs()
173 gattr = kzalloc_objs(*gattr, notes + 1); in add_notes_attrs()
/linux/Documentation/devicetree/
H A Dindex.rst22 dynamic-resolution-notes
23 overlay-notes
/linux/Documentation/translations/zh_CN/devicetree/
H A Dindex.rst35 dynamic-resolution-notes
36 overlay-notes
H A Doverlay-notes.rst4 :Original: Documentation/devicetree/overlay-notes.rst
17 Documentation/devicetree/dynamic-resolution-notes.rst[1]的配套文档。
/linux/drivers/gpib/
H A DTODO7 - resolve XXX notes where possible
8 - fix FIXME notes
/linux/Documentation/bpf/
H A Dindex.rst32 clang-notes
33 linux-notes
/linux/fs/
H A Dbinfmt_elf.c1686 struct memelfnote notes[]; member
1737 fill_note(&t->notes[0], PRSTATUS, PRSTATUS_SIZE, &t->prstatus); in fill_thread_core_info()
1738 info->size += notesize(&t->notes[0]); in fill_thread_core_info()
1779 __fill_note(&t->notes[note_iter], note_name, note_type, in fill_thread_core_info()
1782 info->size += notesize(&t->notes[note_iter]); in fill_thread_core_info()
1799 fill_note(&t->notes[0], PRSTATUS, sizeof(t->prstatus), &t->prstatus); in fill_thread_core_info()
1800 info->size += notesize(&t->notes[0]); in fill_thread_core_info()
1809 fill_note(&t->notes[1], PRFPREG, sizeof(*fpu), fpu); in fill_thread_core_info()
1810 info->size += notesize(&t->notes[1]); in fill_thread_core_info()
1877 info->thread = kzalloc_flex(*info->thread, notes, info->thread_notes); in fill_note_info()
[all …]
/linux/tools/perf/
H A Dbuiltin-top.c116 struct annotation *notes; in perf_top__parse_source() local
140 notes = symbol__annotation(sym); in perf_top__parse_source()
141 annotation__lock(notes); in perf_top__parse_source()
144 annotation__unlock(notes); in perf_top__parse_source()
160 annotation__unlock(notes); in perf_top__parse_source()
204 struct annotation *notes; in perf_top__record_precise_ip() local
213 notes = symbol__annotation(sym); in perf_top__record_precise_ip()
215 if (!annotation__trylock(notes)) in perf_top__record_precise_ip()
220 annotation__unlock(notes); in perf_top__record_precise_ip()
245 struct annotation *notes; in perf_top__show_details() local
[all …]
/linux/arch/arm/mach-pxa/
H A Dsleep.S66 @ Intel PXA270 Specification Update notes problems sleeping
103 @ Intel PXA255 Specification Update notes problems
159 @ Intel PXA270 Specification Update notes problems performing
/linux/Documentation/driver-api/80211/
H A Dmac80211-advanced.rst72 Insert notes about VLAN interfaces with hw crypto here or in the hw
99 Insert notes about having multiple virtual interfaces with different MAC
101 notes about supporting hw crypto with it.
/linux/kernel/
H A Dwatch_queue.c118 page = wqueue->notes[note / WATCH_QUEUE_NOTES_PER_PAGE]; in post_one_notification()
247 if (wqueue->notes) in watch_queue_set_size()
297 wqueue->notes = pages; in watch_queue_set_size()
402 __free_page(wqueue->notes[i]); in __put_watch_queue()
403 kfree(wqueue->notes); in __put_watch_queue()
/linux/Documentation/driver-api/
H A Dhw-recoverable-errors.rst16 crash dump notes, this infrastructure aids post-mortem crash analysis tools in
37 - It is exposed via vmcoreinfo crash dump notes and can be read using tools

1234567