File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,7 @@ show_perf_event_uprobe_json(struct bpf_link_info *info, json_writer_t *wtr)
380
380
u64_to_ptr (info -> perf_event .uprobe .file_name ));
381
381
jsonw_uint_field (wtr , "offset" , info -> perf_event .uprobe .offset );
382
382
jsonw_uint_field (wtr , "cookie" , info -> perf_event .uprobe .cookie );
383
+ jsonw_uint_field (wtr , "ref_ctr_offset" , info -> perf_event .uprobe .ref_ctr_offset );
383
384
}
384
385
385
386
static void
@@ -823,6 +824,8 @@ static void show_perf_event_uprobe_plain(struct bpf_link_info *info)
823
824
printf ("%s+%#x " , buf , info -> perf_event .uprobe .offset );
824
825
if (info -> perf_event .uprobe .cookie )
825
826
printf ("cookie %llu " , info -> perf_event .uprobe .cookie );
827
+ if (info -> perf_event .uprobe .ref_ctr_offset )
828
+ printf ("ref_ctr_offset 0x%llx " , info -> perf_event .uprobe .ref_ctr_offset );
826
829
}
827
830
828
831
static void show_perf_event_tracepoint_plain (struct bpf_link_info * info )
You can’t perform that action at this time.
0 commit comments