Hi Milian,

Is it possible to share your test case/steps with me?

Does --call-graph fp work?

Thanks,
Kan

> 
> Milian Wolff <[email protected]> writes:
> >
> > OK, with a more recent perf v4.2.rc5 on a Intel(R) Core(TM) i7-4770
> > CPU @ 3.40GHz it actually works. Somewhat :) It is much faster, but
> > the callstacks don't terminate properly, and are sometimes not
> > correctly demangled. I observe the following behavior:
> >
> >     15.56%  ex_string_compa  libQt5Core.so.5.5.0   [.]
> QString::compare_helper
> >             |
> >             |--5.84%--
> >
> _ZN7QString14compare_helperEPK5QChariS2_iN2Qt15CaseSensitivityE@pl
> t
> 
> Maybe the demangler doesn't like the @plt.
> 
> 
> >             |          QString::compare_helper
> >             |          main
> >             |          |
> >             |          |--4.24%-- main
> >             |          |          |
> >             |          |          |--1.60%-- main
> >             |          |          |          |
> >             |          |          |          |--1.07%-- main
> 
> Yes that looks like a bug.
> 
> Adding Kan.
> 
> -Andi
> 
> >             |          |          |          |          |
> >             |          |          |          |          |--0.54%-- main
> >             |          |          |          |          |          main
> >             |          |          |          |          |
> >             |          |          |          |           --0.53%--
> > QString::compare_helper
> >             |          |          |          |                     main
> >             |          |          |          |
> >             |          |          |           --0.53%--
> > QString::compare_helper
> >             |          |          |                     main
> >             |          |          |                     main
> >             |          |          |
> > QString::compare_helper
> >             |          |          |                     main
> >             |          |          |
> > QString::compare_helper
> > ...
> >
> > The correct callgraph, as shown by --call-graph dwarf, is:
> >
> >     21.62%  ex_string_compa  libQt5Core.so.5.5.0   [.]
> QString::compare_helper
> >             |
> >             ---QString::compare_helper
> >                main
> >
> > Is this a known (undocumented) limitation or a bug? Is there anything
> > I could do to get this fixed?
> >
> > Thanks
> 
> --
> [email protected] -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to