From: Yordan Karadzhov <y.karadz@gmail.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: jan.kiszka@siemens.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 3/4] kernelshark: Adding gui_event_handlers for View and Graph
Date: Fri, 10 Nov 2017 19:58:58 +0200 [thread overview]
Message-ID: <13e803a4-a018-2f4d-830d-5dfa2058d709@gmail.com> (raw)
In-Reply-To: <20171110102856.5f77ef26@gandalf.local.home>
On 10.11.2017 17:28, Steven Rostedt wrote:
> On Fri, 10 Nov 2017 14:29:14 +0200
> "Yordan Karadzhov (VMware)" <y.karadz@gmail.com> wrote:
>
>
>> +void trace_graph_register_gui_handler(struct graph_info *info,
>> + struct gui_event_handler *handler) {
>> + handler->next = info->event_handlers;
>> + info->event_handlers = handler;
>> +}
>> +
>
>>
>> +void trace_view_store_register_gui_handler(TraceViewStore *store, struct gui_event_handler *handler)
>> +{
>> + handler->next = store->event_handlers;
>> + store->event_handlers = handler;
>> +}
>> +
>
> Hmm, and in the last patch we have:
>
> + trace_view_store_register_gui_handler(ks_store, switch_handler);
> + trace_view_store_register_gui_handler(ks_store, wakeup_handler);
> +
> + trace_graph_register_gui_handler(ks_info->ginfo, switch_handler);
> + trace_graph_register_gui_handler(ks_info->ginfo, wakeup_handler);
>
> I think I see an issue here. ;-)
>
> (Hint, what's the state of switch_handler->next and
> wakeup_handler->next, when this is done?)
I see the issue now.
Thank you very much!
Yordan
> -- Steve
next prev parent reply other threads:[~2017-11-10 17:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 12:29 [PATCH v2 1/4] kernelshark: Adding infrastructure for GUI plugins Yordan Karadzhov (VMware)
2017-11-10 12:29 ` [PATCH v2 2/4] kernelshark: Adding a GUI event handler Yordan Karadzhov (VMware)
2017-11-10 14:27 ` Steven Rostedt
2017-11-10 12:29 ` [PATCH v2 3/4] kernelshark: Adding gui_event_handlers for View and Graph Yordan Karadzhov (VMware)
2017-11-10 15:28 ` Steven Rostedt
2017-11-10 17:58 ` Yordan Karadzhov [this message]
2017-11-10 12:29 ` [PATCH v2 4/4] kernelshark: Adding a GUI plugin for xenomai events Yordan Karadzhov (VMware)
2017-11-10 14:23 ` [PATCH v2 1/4] kernelshark: Adding infrastructure for GUI plugins Steven Rostedt
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=13e803a4-a018-2f4d-830d-5dfa2058d709@gmail.com \
--to=y.karadz@gmail.com \
--cc=jan.kiszka@siemens.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/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
all inboxes | Powered by JetHome®