Skip to contentSkip to conversation

trace-cmd: Add new libtracecmd API tracecmd_unpair_peer()

PATCH New Tzvetomir Stoyanov (VMware) 1 participant 1 message Dec 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cmd: Add new libtracecmd API tracecmd_unpair_peer()

The tracecmd_unpair_peer() is exposed as official trace-cmd library API. It is used to unpair a tracing peer, previously paired with tracecmd_pair_peer().

---
 include/trace-cmd/trace-cmd.h | 1 +
 1 file changed, 1 insertion(+)
include/trace-cmd/trace-cmd.h +1 -0
index 75352309..7dc88cb0 100644
@@ -15,6 +15,7 @@ struct tracecmd_input *tracecmd_open_head(const char *file);
 void tracecmd_close(struct tracecmd_input *handle);
 int tracecmd_pair_peer(struct tracecmd_input *handle,
 		       struct tracecmd_input *peer);
+void tracecmd_unpair_peer(struct tracecmd_input *handle);
 
 int tracecmd_init_data(struct tracecmd_input *handle);
 struct tep_record *
Signature · 1 line
2.28.0