From mboxrd@z Thu Jan 1 00:00:00 1970 From: dunlap@ucar.edu (Rocky Dunlap) Date: Sun, 29 Mar 2020 23:24:37 -0600 Subject: [lttng-dev] bt2 python - accessing component instances added to graph Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: