Hihi, Kienan,
I finally find a workaround. I could success with the following code:
file_name = "bt_plugin_latency_filter.py"
current_directory=os.getcwd()
file_path = os.path.join(current_directory, file_name)
pset=bt2.find_plugins_in_path(file_path)
forplugininpset:
if plugin.name=="latency_f
On 2024-04-26 09:56, Wu, Yannan via lttng-dev wrote:
> Hihi, Kienan,
>
> I finally find a workaround. I could success with the following code:
> file_name = "bt_plugin_latency_filter.py"
> current_directory=os.getcwd()
>
> file_path = os.path.join(current_directory, file_name)
> pset=bt2.find_
ok thanks for the help. I will try it later
Amanda
From: Simon Marchi
Sent: Friday, April 26, 2024 10:57:59 PM
To: Wu, Yannan; Kienan Stewart; lttng-dev@lists.lttng.org
Subject: RE: [EXTERNAL] [lttng-dev] [babeltrace2]about python self-defined
plugin loading
CA