* [PATCH] trace-cmd: Add new libtracecmd API tracecmd_unpair_peer()
@ 2020-12-23 4:22 Tzvetomir Stoyanov (VMware)
0 siblings, 0 replies; only message in thread
From: Tzvetomir Stoyanov (VMware) @ 2020-12-23 4:22 UTC (permalink / raw)
To: rostedt; +Cc: linux-trace-devel
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().
Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
---
include/trace-cmd/trace-cmd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/trace-cmd/trace-cmd.h b/include/trace-cmd/trace-cmd.h
index 75352309..7dc88cb0 100644
--- a/include/trace-cmd/trace-cmd.h
+++ b/include/trace-cmd/trace-cmd.h
@@ -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 *
--
2.28.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, back to index
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-23 4:22 [PATCH] trace-cmd: Add new libtracecmd API tracecmd_unpair_peer() Tzvetomir Stoyanov (VMware)
Linux-Trace-Devel Archive on lore.kernel.org
Archives are clonable:
git clone --mirror https://lore.kernel.org/linux-trace-devel/0 linux-trace-devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 linux-trace-devel linux-trace-devel/ https://lore.kernel.org/linux-trace-devel \
linux-trace-devel@vger.kernel.org
public-inbox-index linux-trace-devel
Example config snippet for mirrors
Newsgroup available over NNTP:
nntp://nntp.lore.kernel.org/org.kernel.vger.linux-trace-devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git