Lines Matching full:note

722 static unsigned long long sdt_note__get_addr(struct sdt_note *note)  in sdt_note__get_addr()  argument
724 return note->bit32 ? in sdt_note__get_addr()
725 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_LOC] : in sdt_note__get_addr()
726 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_LOC]; in sdt_note__get_addr()
729 static unsigned long long sdt_note__get_ref_ctr_offset(struct sdt_note *note) in sdt_note__get_ref_ctr_offset() argument
731 return note->bit32 ? in sdt_note__get_ref_ctr_offset()
732 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_REFCTR] : in sdt_note__get_ref_ctr_offset()
733 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_REFCTR]; in sdt_note__get_ref_ctr_offset()
805 static char *synthesize_sdt_probe_command(struct sdt_note *note, in synthesize_sdt_probe_command() argument
820 sdtgrp, note->name, pathname, in synthesize_sdt_probe_command()
821 sdt_note__get_addr(note)); in synthesize_sdt_probe_command()
823 ref_ctr_offset = sdt_note__get_ref_ctr_offset(note); in synthesize_sdt_probe_command()
830 if (!note->args) in synthesize_sdt_probe_command()
833 if (note->args) { in synthesize_sdt_probe_command()
834 char **args = argv_split(note->args, &args_count); in synthesize_sdt_probe_command()
841 * FIXUP: Arm64 ELF section '.note.stapsdt' uses string in synthesize_sdt_probe_command()
892 struct sdt_note *note; in probe_cache__scan_sdt() local
900 pr_debug4("Failed to get sdt note: %d\n", ret); in probe_cache__scan_sdt()
903 list_for_each_entry(note, &sdtlist, note_list) { in probe_cache__scan_sdt()
904 ret = snprintf(sdtgrp, 64, "sdt_%s", note->provider); in probe_cache__scan_sdt()
908 entry = probe_cache__find_by_name(pcache, sdtgrp, note->name); in probe_cache__scan_sdt()
917 note->name, note->name); in probe_cache__scan_sdt()
920 entry->pev.event = strdup(note->name); in probe_cache__scan_sdt()
924 buf = synthesize_sdt_probe_command(note, pathname, sdtgrp); in probe_cache__scan_sdt()