Lines Matching refs:point

364  * symbol from map, we can translate the address back to the probe point.
427 memcpy(tmp, &pev->point, sizeof(*tmp));
428 memset(&pev->point, 0, sizeof(pev->point));
429 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target,
432 memcpy(&pev->point, tmp, sizeof(*tmp));
631 * Convert trace point to probe point with debuginfo
731 ret = post_process_probe_trace_point(&tevs[i].point,
756 /* point.address is the address of point.symbol + point.offset */
757 tevs[i].point.address -= stext;
758 tevs[i].point.module = strdup(exec);
759 if (!tevs[i].point.module) {
790 ret = post_process_probe_trace_point(&tevs[i].point,
794 tevs[i].point.module =
796 if (!tevs[i].point.module) {
829 if (!tevs[i].point.address)
831 if (tevs[i].point.retprobe && !kretprobe_offset_is_supported())
838 if (kprobe_warn_out_range(tevs[i].point.symbol,
839 map__objdump_2mem(map, tevs[i].point.address))) {
848 if (!tevs[i].point.realname)
849 tevs[i].point.realname = tevs[i].point.symbol;
851 free(tevs[i].point.symbol);
852 tevs[i].point.symbol = tmp;
853 tevs[i].point.offset = tevs[i].point.address -
907 pr_debug("Try to find probe point from debuginfo.\n");
919 clear_perf_probe_point(&pev->point);
920 memcpy(&pev->point, &tmp, sizeof(tmp));
938 if (ntevs == 0) { /* No error but failed to find probe point. */
939 pr_warning("Probe point '%s' not found.\n",
940 synthesize_perf_probe_point(&pev->point));
1129 buf = synthesize_perf_probe_point(&pev->point);
1158 * A probe point might be converted to
1161 fprintf(stdout, "\t@<%s+%lu>\n", vl->point.symbol,
1162 vl->point.offset);
1163 zfree(&vl->point.symbol);
1184 /* Show available variables on given probe point */
1417 struct perf_probe_point *pp = &pev->point;
1459 if (asprintf(&pev->point.function, "%%%s", pev->event) < 0)
1754 /* Parse probe point */
1760 if (!pev->event && pev->point.function && pev->point.line
1761 && !pev->point.lazy_line && !pev->point.offset) {
1762 if (asprintf(&pev->event, "%s_L%d", pev->point.function,
1763 pev->point.line) < 0) {
1779 is_c_varname(pev->args[i].var) && pev->point.retprobe) {
1807 if (pev->point.file || pev->point.line || pev->point.lazy_line)
1819 struct probe_trace_point *tp = &tev->point;
1986 /* Compose only probe point (not argument) */
2039 tmp = synthesize_perf_probe_point(&pev->point);
2119 struct probe_trace_point *tp = &tev->point;
2134 struct probe_trace_point *tp = &tev->point;
2150 * If tp->address == 0, then this point must be a
2241 pr_debug("Failed to find probe point from both of dwarf and map.\n");
2274 ret = convert_to_perf_probe_point(&tev->point, &pev->point, is_kprobe);
2310 clear_perf_probe_point(&pev->point);
2383 if (perf_probe_point__copy(&dst->point, &src->point) < 0)
2408 zfree(&tev->point.symbol);
2409 zfree(&tev->point.realname);
2410 zfree(&tev->point.module);
2551 /* Synthesize only event probe point */
2552 buf = synthesize_perf_probe_point(&pev->point);
2638 &pev, tev.point.module,
2755 struct probe_trace_point *tp = &tev->point;
2794 /* Or generate new one from probe point */
2795 if (pev->point.function &&
2796 (strncmp(pev->point.function, "0x", 2) != 0) &&
2797 !strisglob(pev->point.function))
2798 event = pev->point.function;
2800 event = tev->point.realname;
2811 tev->point.retprobe, allow_suffix);
2877 if (!tev->point.symbol && !pev->uprobes)
2982 struct perf_probe_point *pp = &pev->point;
3054 tp = &tev->point;
3067 /* Add one probe point */
3087 tev->point.module = strdup_or_goto(pev->target,
3091 tev->point.module =
3094 if (!tev->point.module)
3142 struct perf_probe_point *pp = &pev->point;
3147 if (!(pev->point.function && !strncmp(pev->point.function, "0x", 2)))
3163 tp = &tev->point;
3170 tp->address = pev->point.abs_address;
3185 (kprobe_warn_out_range(tev->point.symbol,
3186 tev->point.address))) {
3508 if (!tev->point.symbol && !pev->uprobes)