Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Having trouble using Flame Chart

HI Evan, I just noticed you attached the trace file.

You need to make a custom analysis for this as your events are freeform.

You can try the incubator's callstack. But I suspect a simple XML gantt chart (works out of the box) would suit your needs.

Matthew

From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Matthew Khouzam via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx>
Sent: Thursday, August 5, 2021 10:32 AM
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Cc: Matthew Khouzam <matthew.khouzam@xxxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Having trouble using Flame Chart
 
Hi Evan,

the setup of the tracer looks OK, but do you have entry/exit events. If they are non-standard cyg-profile ones, look at the incubator, you can set up an XML configuration to handle your trace format.

BR:
Matthew

From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Evan Galea <evanjamesgalea@xxxxxxxxx>
Sent: Thursday, August 5, 2021 4:34 AM
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Subject: [tracecompass-dev] Having trouble using Flame Chart
 
Hi

I am having trouble getting the flame graph (both normal and incubator) to show the  call stack of my Java program. I know I am missing something but am not sure what I need to do. The commands I am using are as follows:

lttng start
lttng enable-event --u --u
lttng add-context -u -t vpid -t vtid -t procname
lttng enable-event --jul myLogger

On the Flame Chart I see a message that says that the stack info is not available for Kernel/UST. Could this be relevant?

I am using trace compass 7.0.0, lttng 2.12.4 , and lttng tools 2.12 I have attached a trace file that I am working with

Thank you for your time

Evan Galea

Back to the top