Re: [PATCH] perf tools: Fix JIT profiling on heap

From: Ingo Molnar
Date: Tue Jan 21 2014 - 09:16:32 EST



* Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/