Messages in this thread | | | From | Keith Owens <> | Subject | Re: [patch] Latency Tracer, voluntary-preempt-2.6.8-rc4-O6 | Date | Tue, 17 Aug 2004 23:05:00 +1000 |
| |
On Tue, 17 Aug 2004 13:14:32 +0100, Paulo Marques <pmarques@grupopie.com> wrote: >Keith Owens wrote: >> On Sat, 14 Aug 2004 05:50:50 +0100, >> Paulo Marques <pmarques@grupopie.com> wrote: >> >>>Well, I found some time and decided to give it a go :) >> >> >> This patch regresses some recent changes to kallsyms which handle >> aliased symbols, IOW symbols with the same address. The speed up is >> very good, but it has two problems with repeated addresses. > >Hi, > >I've been messing with scripts/kallsyms.c to try to follow Andi Kleen's >suggestion of calculating the markers at compile time. This would make >the code in kernel/kallsyms.c much simpler. > >In the process I could get rid of the aliased symbols at compile time >also. There are only 2 places where they might matter: > > - the kallsyms_lookup_name function. GREP'ing through the code shows >that this function is only used in arch/ppc64/xmon/xmon.c. Does xmon >need to know about aliased symbols?
kdb uses aliased symbols as well. The user can enter any kernel symbol name and have it converted to an address.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |