From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [ltt-dev] [BABELTRACE PATCH] Pass stream pointer with callback caller data
Date: Thu, 29 Sep 2011 20:39:11 -0400 [thread overview]
Message-ID: <20110930003911.GA18084@Krystal> (raw)
In-Reply-To: <1317139393-27971-1-git-send-email-julien.desfossez@polymtl.ca>
* Julien Desfossez (julien.desfossez at polymtl.ca) wrote:
> Signed-off-by: Julien Desfossez <julien.desfossez at polymtl.ca>
Merged, thanks!
Mathieu
> ---
> converter/babeltrace-lib.c | 1 +
> include/babeltrace/babeltrace.h | 1 +
> 2 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/converter/babeltrace-lib.c b/converter/babeltrace-lib.c
> index d62565c..ac3bd7c 100644
> --- a/converter/babeltrace-lib.c
> +++ b/converter/babeltrace-lib.c
> @@ -505,6 +505,7 @@ void process_callbacks(struct babeltrace_iter *iter,
> struct bt_ctf_data ctf_data;
>
> ctf_data.event = extract_ctf_stream_event(stream);
> + ctf_data.stream = stream;
>
> /* process all events callback first */
> if (iter->main_callbacks.callback) {
> diff --git a/include/babeltrace/babeltrace.h b/include/babeltrace/babeltrace.h
> index fe5881a..5fce0a6 100644
> --- a/include/babeltrace/babeltrace.h
> +++ b/include/babeltrace/babeltrace.h
> @@ -52,6 +52,7 @@ struct trace_collection_pos {
>
> struct bt_ctf_data {
> struct ctf_stream_event *event;
> + struct ctf_stream *stream;
> };
>
> /*
> --
> 1.7.6.3
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
prev parent reply other threads:[~2011-09-30 0:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-27 16:03 Julien Desfossez
2011-09-30 0:39 ` Mathieu Desnoyers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110930003911.GA18084@Krystal \
--to=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox