Extract adding a trace to the iterator from bt_iter_init
authorJulien Desfossez <jdesfossez@efficios.com>
Wed, 5 Feb 2014 23:34:24 +0000 (18:34 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 8 Feb 2014 15:39:01 +0000 (10:39 -0500)
commitb587c608bc908920415bc1b1c7d21e809408cf36
tree115a27ae730c9cdac6434594d123a65a54a6075c
parentf1f52630ef26bb227cf1e8fedcff9b938d7a2f1e
Extract adding a trace to the iterator from bt_iter_init

With live tracing, we have cases where we need to add traces to an
iterator currently in use. Here, we just extract the code from
bt_iter_init that adds the trace to the iterator so we can call it from
elsewhere.
We don't necessarily want to expose this interface to the public, so it
stays in the internal headers for now.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/babeltrace/iterator-internal.h
lib/iterator.c
This page took 0.024284 seconds and 4 git commands to generate.