Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] xmlTimeGraphView entry hierarchy

On Wed, Mar 21, 2018 at 11:43:12AM -0400, Genevieve Bastien wrote:
> Hi aleix,
> 
> 
> 
> On 03/21/2018 11:09 AM, aleix wrote:
> > I'm trying to display this hierarchy (locks grouped by tasks ids) using nested
> > entries as shown below, but I can't figure out why is not working, I'm only
> > seeing a flat hierarchy without any grouping.
> >
> > <entry path="Tasks/*">
> >     <entry path="locks/*">
> >         <display type="self" />
> >     </entry>
> > </entry>  <
> Each entry represents a hierarchical level, so here, from the tree you
> sent, I would expect to see
> 
> -1
>   |-1
>   |-2
>   |-3
> 
> etc.
> 
> If you want the full hierarchy, you'd have to explicitly define each
> entry level like this
> 
> <entry path="tasks">
>    <entry path="*">
>       <entry path="stats">
>            <display type="self" />
>       </entry>
>       <entry path="locks">
>          <entry path="*">
>             <display type="self" />
>          </entry>
>       </entry>
>    </entry>
> </entry>
> 
> Or something like this, I think it should work.

Hello Geneviève thank you for your answer!

No, your code still displays a flat hierarchy. However, it turns out
that I only had to add another <display> entry!

<entry path="Tasks/*">
    <display type="self" />
    <entry path="locks/*">
        <display type="self" />
    </entry>
</entry>

(adding display entries in your code works as well!)

Thank you very much! :)
> 
> Geneviève
> 
> _______________________________________________
> tracecompass-dev mailing list
> tracecompass-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tracecompass-dev

http://bsc.es/disclaimer


Back to the top