Re: Problem in loading a python plugin for trace-cmd tool

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

 



On 08/15/2013 03:52 AM, Steven Rostedt wrote:
On Thu, 15 Aug 2013 03:20:24 +0300
Xenia Ragiadakou <burzalodowa@xxxxxxxxx> wrote:

Hi Steven,

I have written a plugin in python for parsing the tracing output of some
xhci events and i have placed it under the
lib/trace-cmd/plugins directory. When i do "trace-cmd report", the
plugin is loaded successfully, the corresponding .pyc file is created
under the lib/trace-cmd/plugins directory and the tracing output is
displayed as expected.
However, when Sarah follows the same steps, the plugin is not loaded, no
.pyc file is created and the printed output is the default.

I do not remember to have changed anything in the trace-cmd source code
that i downloaded from your repo.
Do you have any idea why this happens? Is there another place where the
xhci python plugin shall be placed, in order to be loaded successfully?

Hi Ksenia (BTW, do you prefer to be called "Ksenia" as that's what you
sign your emails with, or should I be referring to you as "Xenia"?)

It is pronounced Ksenia, but its full version in latin alphabet is Polyxeni.
Since 'x' is pronounced differently in english depending on its place in the word, i am also confused :)


Believe it or not, I don't do python ;-)  The python code was created
by Darren Hart and Johannes Berg (both Cc'd). They would be better at
answering your question.

-- Steve

I did not do Python either, but i would never do the parsing in C :)
Thanks for CC 'ing Darren Hart and Johannes Berg, i should have thought of that.

best regards,
ksenia
--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux