Messages in this thread | | | Date | Tue, 21 Jan 2014 15:16:21 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] perf tools: Fix JIT profiling on heap |
| |
* Arnaldo Carvalho de Melo <acme@ghostprotocols.net> wrote:
> > Right. But in this case we cannot determine whether a symbol in > > the /tmp/perf-... file is a function or variable. > > That is why we would then need to have separate /tmp/perf-... files, > disambiguated by an extension, one for text addresses, another for > data ones. > > Or change the format to match /proc/kallsyms, which probably is what > we should've done from day one...
Yeah. Using the same format would be lovely. The parser could try to detect the new one and could fall back to the old format?
> Detecting the format change would be trivial, as we would find 3 > tokens in the new format, instead of the current 2.
Yeah!
Thanks,
Ingo
| |