Re: trace-cmd python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Apr 2018 15:07:26 +0200
Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:

Hi Johannes,

This was buried in my TODO list, and lost. I just noticed it. 

> So, starting again from git clean -fdxq, I observe the following:
> 
> 1) make -j8 install
>    -> errors out with  
> "make[1]: *** No rule to make target '/home/jberg1/sys/trace-cmd/lib/trace-cmd/libtracecmd.a', needed by 'ctracecmd.so'.  Stop."
> 
> 2) make install
>    -> python plugin not installed
>    -> copy it manually  
> 
> 3) running trace-cmd report with plugin_mac80211.py in
> ~/.trace-cmd/plugins/ I see
> 
> failed loading /home/jberg1/.trace-cmd/plugins/mac80211.py
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/tmp/tcmd//lib/trace-cmd/python/tracecmd.py", line 22, in <module>
>     from ctracecmd import *
> ImportError: /tmp/tcmd//lib/trace-cmd/python/ctracecmd.so: undefined symbol: traceevent_plugin_free_options_list
> 
> If I remove that from the header file I eventually get down to not
> having __vpr_stat() or something, which seems to indicate that
> ctracecmd.so isn't linked with libtraceevent, only with libtracecmd? But
> adding that to the Makefile didn't change anything, and then I gave up
> and checked out v2.7 instead.
>

I just checked, and this is still an issue today. I'll make sure that
this gets fixed soon.

Thanks for reporting! (even though it got lost in my INBOX :-( )

-- Steve



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux