Lines Matching refs:note

741 static unsigned long long sdt_note__get_addr(struct sdt_note *note)  in sdt_note__get_addr()  argument
743 return note->bit32 ? in sdt_note__get_addr()
744 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_LOC] : in sdt_note__get_addr()
745 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_LOC]; in sdt_note__get_addr()
748 static unsigned long long sdt_note__get_ref_ctr_offset(struct sdt_note *note) in sdt_note__get_ref_ctr_offset() argument
750 return note->bit32 ? in sdt_note__get_ref_ctr_offset()
751 (unsigned long long)note->addr.a32[SDT_NOTE_IDX_REFCTR] : in sdt_note__get_ref_ctr_offset()
752 (unsigned long long)note->addr.a64[SDT_NOTE_IDX_REFCTR]; in sdt_note__get_ref_ctr_offset()
824 static char *synthesize_sdt_probe_command(struct sdt_note *note, in synthesize_sdt_probe_command() argument
839 sdtgrp, note->name, pathname, in synthesize_sdt_probe_command()
840 sdt_note__get_addr(note)); in synthesize_sdt_probe_command()
842 ref_ctr_offset = sdt_note__get_ref_ctr_offset(note); in synthesize_sdt_probe_command()
849 if (!note->args) in synthesize_sdt_probe_command()
852 if (note->args) { in synthesize_sdt_probe_command()
853 char **args = argv_split(note->args, &args_count); in synthesize_sdt_probe_command()
911 struct sdt_note *note; in probe_cache__scan_sdt() local
922 list_for_each_entry(note, &sdtlist, note_list) { in probe_cache__scan_sdt()
923 ret = snprintf(sdtgrp, 64, "sdt_%s", note->provider); in probe_cache__scan_sdt()
927 entry = probe_cache__find_by_name(pcache, sdtgrp, note->name); in probe_cache__scan_sdt()
936 note->name, note->name); in probe_cache__scan_sdt()
939 entry->pev.event = strdup(note->name); in probe_cache__scan_sdt()
943 buf = synthesize_sdt_probe_command(note, pathname, sdtgrp); in probe_cache__scan_sdt()