[RFC] perf tool: load data variable symbols

From: Lin Ming
Date: Thu Feb 10 2011 - 09:15:23 EST


Hi, all

Currently, perf tool only load function symbols when parsing perf.data.

But it is also helpful if variable symbols can be loaded.

For example, Intel load latency monitoring facility records data linear
address of the load operation. It's useful if the data linear address is
resolved into symbol, just like functions.

enum map_type {
MAP__FUNCTION = 0,
MAP__VARIABLE,
};

We already have MAP__VARIABLE defined, although it's not used now.

For both kernel and userspace applications, we can load the variable
symbols from .data and .bss section.

What do you think?

Thanks,
Lin Ming


--
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/