Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Enabling Events

Hi,

May I know how to add definitions of my own events i.e. non-standard Linux kernel trace events into the trace metadata file?

Thanks
(Please refer the discussion below)  

Hi!

I'm not an expert on this, but I recently did something similar.

Is your conversion script writing non-standard Linux Kernel events in
the CTF file?  If so, Have you added the definition of your own events
into the trace metadata file?


On Wed, Jan 29, 2020 at 12:04:36PM +0530, tracecompass developer discussions wrote:
> Hi community,
>
> I have written a python script to convert a certain type of trace into CTF.
> The file is opening in trace compass but the PID, TID and Prio fields are
> not visible. However, if I change the name of my events to *sched_switch*,
> these fields become visible. I read somewhere that we need to enable
> events. I need to know how I can enable my events and how *sched_switch* event
> got enabled.
>
> Thanks and regards,
> Basavaraj M.
  

On Thu, 30 Jan 2020 at 10:56, tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx> wrote:
Hi!

I'm not an expert on this, but I recently did something similar.

Is your conversion script writing non-standard Linux Kernel events in
the CTF file?  If so, Have you added the definition of your own events
into the trace metadata file?

On Wed, Jan 29, 2020 at 12:04:36PM +0530, tracecompass developer discussions wrote:
> Hi community,
>
> I have written a python script to convert a certain type of trace into CTF.
> The file is opening in trace compass but the PID, TID and Prio fields are
> not visible. However, if I change the name of my events to *sched_switch*,
> these fields become visible. I read somewhere that we need to enable
> events. I need to know how I can enable my events and how *sched_switch* event
> got enabled.
>
> Thanks and regards,
> Basavaraj M.

> _______________________________________________
> tracecompass-dev mailing list
> tracecompass-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/tracecompass-dev


http://bsc.es/disclaimer
_______________________________________________
tracecompass-dev mailing list
tracecompass-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tracecompass-dev

Back to the top