lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* bt2 python - accessing component instances added to graph
@ 2020-03-30  5:24 Rocky Dunlap via lttng-dev
  2020-03-30 13:45 ` Simon Marchi via lttng-dev
  0 siblings, 1 reply; 3+ messages in thread
From: Rocky Dunlap via lttng-dev @ 2020-03-30  5:24 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 308 bytes --]

I noticed that when I add a component to a bt2 graph, e.g.:

sink = g.add_component(SinglePETSink, "sink"+str(idx))

The return value "sink" is not actually an instance of SinglePETSink (which
has been defined as a local Python class).  How do I get to the instance of
SinglePETSink that was created?

Rocky

[-- Attachment #1.2: Type: text/html, Size: 423 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-30 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30  5:24 bt2 python - accessing component instances added to graph Rocky Dunlap via lttng-dev
2020-03-30 13:45 ` Simon Marchi via lttng-dev
     [not found]   ` <CADtyBo6mzBQ3sVUpc4gbxEf7LVsfV+m8oWNMjMdG1gDPsnRR6A@mail.gmail.com>
     [not found]     ` <32146698-0314-1eaf-e422-2c9e088056e7@simark.ca>
2020-03-30 20:41       ` Rocky Dunlap via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).