diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-12 20:46:25 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-27 09:51:33 +0200 |
commit | 2e4f17d230d84579fef07836fb5f69bf1a0a47ad (patch) | |
tree | 552b861fccfd34c7664f097293ce10014cf6134d /Documentation/cachetlb.txt | |
parent | sh: lockless get_user_pages_fast() (diff) | |
download | linux-2e4f17d230d84579fef07836fb5f69bf1a0a47ad.tar.xz linux-2e4f17d230d84579fef07836fb5f69bf1a0a47ad.zip |
sh: oprofile: Fix up and extend op_name_from_perf_id().
op_name_from_perf_id() currently returns a local variable, which isn't
terribly productive. As we only handle a single PMU case for now, simply
allocate and free the string from the arch init/exit context and have
op_name_from_perf_id() hand back the cached string.
This also takes UTS_MACHINE in to account, given that we build for
multiple architectures.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'Documentation/cachetlb.txt')
0 files changed, 0 insertions, 0 deletions