From: Arjan van de Ven <hidden> Date: 2009-01-28 04:54:26
Michael Neuling wrote:
powerpc has dot symbols, so the dmesg output looks like:
<4>[ 0.327310] calling .migration_init+0x0/0x9c @ 1
<4>[ 0.327595] initcall .migration_init+0x0/0x9c returned 1 after 0 usecs
The below fixes bootgraph.pl so it handles this correctly.
question for the ppc folks.... why does the "print symbol" magic format string
thing print a dot symbol and not the real function name?
Should that be fixed instead?
From: Anton Blanchard <hidden> Date: 2009-01-28 10:57:55
Hi Arjan,
question for the ppc folks.... why does the "print symbol" magic format string
thing print a dot symbol and not the real function name?
Should that be fixed instead?
We have two symbols for each function, foo points to the function
descriptor, and .foo points to the instruction text. If we were to strip
the '.' when we print symbols then it would become harder to diagnose
some failures (eg branching to the function descriptor instead of the
instruction text).
Anton
From: Michael Neuling <hidden> Date: 2009-02-08 01:13:37
quoted
question for the ppc folks.... why does the "print symbol" magic format str
ing
quoted
thing print a dot symbol and not the real function name?
Should that be fixed instead?
We have two symbols for each function, foo points to the function
descriptor, and .foo points to the instruction text. If we were to strip
the '.' when we print symbols then it would become harder to diagnose
some failures (eg branching to the function descriptor instead of the
instruction text).
Arjan,
I don't think there is much scope for removing dot symbols in the near
future.
Can you please take the patch as is for now so bootgraph will at least
work for existing systems?
Mikey