Lines Matching refs:point

374  * symbol from map, we can translate the address back to the probe point.
437 memcpy(tmp, &pev->point, sizeof(*tmp));
438 memset(&pev->point, 0, sizeof(pev->point));
439 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target,
442 memcpy(&pev->point, tmp, sizeof(*tmp));
641 * Convert trace point to probe point with debuginfo
745 ret = post_process_probe_trace_point(&tevs[i].point,
770 /* point.address is the address of point.symbol + point.offset */
771 tevs[i].point.address -= stext;
772 tevs[i].point.module = strdup(exec);
773 if (!tevs[i].point.module) {
804 ret = post_process_probe_trace_point(&tevs[i].point,
808 tevs[i].point.module =
810 if (!tevs[i].point.module) {
846 if (!tevs[i].point.address)
848 if (tevs[i].point.retprobe && !kretprobe_offset_is_supported())
855 if (kprobe_warn_out_range(tevs[i].point.symbol,
856 map__objdump_2mem(map, tevs[i].point.address))) {
865 if (!tevs[i].point.realname)
866 tevs[i].point.realname = tevs[i].point.symbol;
868 free(tevs[i].point.symbol);
869 tevs[i].point.symbol = tmp;
870 tevs[i].point.offset = tevs[i].point.address -
923 if (pev->point.retprobe)
934 pr_debug("Try to find probe point from debuginfo.\n");
946 clear_perf_probe_point(&pev->point);
947 memcpy(&pev->point, &tmp, sizeof(tmp));
965 if (ntevs == 0) { /* No error but failed to find probe point. */
966 char *probe_point = synthesize_perf_probe_point(&pev->point);
967 pr_warning("Probe point '%s' not found.\n", probe_point);
1157 buf = synthesize_perf_probe_point(&pev->point);
1186 * A probe point might be converted to
1189 fprintf(stdout, "\t@<%s+%lu>\n", vl->point.symbol,
1190 vl->point.offset);
1191 zfree(&vl->point.symbol);
1212 /* Show available variables on given probe point */
1445 struct perf_probe_point *pp = &pev->point;
1487 if (asprintf(&pev->point.function, "%%%s", pev->event) < 0)
1782 /* Parse probe point */
1788 if (!pev->event && pev->point.function && pev->point.line
1789 && !pev->point.lazy_line && !pev->point.offset) {
1790 if (asprintf(&pev->event, "%s_L%d", pev->point.function,
1791 pev->point.line) < 0) {
1807 is_c_varname(pev->args[i].var) && pev->point.retprobe) {
1835 if (pev->point.file || pev->point.line || pev->point.lazy_line)
1847 struct probe_trace_point *tp = &tev->point;
2014 /* Compose only probe point (not argument) */
2067 tmp = synthesize_perf_probe_point(&pev->point);
2168 * If tp->address == 0, then this point must be a
2202 struct probe_trace_point *tp = &tev->point;
2285 pr_debug("Failed to find probe point from both of dwarf and map.\n");
2318 ret = convert_to_perf_probe_point(&tev->point, &pev->point, is_kprobe);
2354 clear_perf_probe_point(&pev->point);
2427 if (perf_probe_point__copy(&dst->point, &src->point) < 0)
2452 zfree(&tev->point.symbol);
2453 zfree(&tev->point.realname);
2454 zfree(&tev->point.module);
2594 /* Synthesize only event probe point */
2595 buf = synthesize_perf_probe_point(&pev->point);
2681 &pev, tev.point.module,
2798 struct probe_trace_point *tp = &tev->point;
2842 /* Or generate new one from probe point */
2843 if (pev->point.function &&
2844 (strncmp(pev->point.function, "0x", 2) != 0) &&
2845 !strisglob(pev->point.function))
2846 event = pev->point.function;
2848 event = tev->point.realname;
2859 tev->point.retprobe, allow_suffix);
2925 if (!tev->point.symbol && !pev->uprobes)
3041 struct perf_probe_point *pp = &pev->point;
3124 tp = &tev->point;
3137 /* Add one probe point */
3157 tev->point.module = strdup_or_goto(pev->target,
3161 tev->point.module =
3164 if (!tev->point.module)
3212 struct perf_probe_point *pp = &pev->point;
3217 if (!(pev->point.function && !strncmp(pev->point.function, "0x", 2)))
3233 tp = &tev->point;
3240 tp->address = pev->point.abs_address;
3255 (kprobe_warn_out_range(tev->point.symbol,
3256 tev->point.address))) {
3578 if (!tev->point.symbol && !pev->uprobes)
3595 struct probe_trace_point *tp = &tev->point;
3641 if (!tev->point.symbol && !pev->uprobes)