[1/2] powerpc/tracing: Trace TLBIE(L)

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jun 29 22:21:03 AEST 2017


On Tue, 2017-04-11 at 05:23:25 UTC, Balbir Singh wrote:
> Just a quick patch to trace tlbie(l)'s. The idea being that it can be
> enabled when we suspect corruption or when we need to see if we are doing
> the right thing during flush. I think the format can be enhanced to
> make it nicer (expand the RB/RS/IS/L cases in more detail if we ever
> need that level of details).
> 
> A typical trace might look like this
> 
> <...>-5141  [062]  1354.486693: tlbie:
> 	tlbie with lpid 0, local 0, rb=7b5d0ff874f11f1, rs=0, ric=0 prs=0 r=0
> systemd-udevd-2584  [018]  1354.486772: tlbie:
> 	tlbie with lpid 0, local 0, rb=17be1f421adc10c1, rs=0, ric=0 prs=0 r=0
> ...
> 
> qemu-system-ppc-5371  [016]  1412.369519: tlbie:
> 	tlbie with lpid 0, local 1, rb=67bd8900174c11c1, rs=0, ric=0 prs=0 r=0
> qemu-system-ppc-5377  [056]  1421.687262: tlbie:
> 	tlbie with lpid 1, local 0, rb=5f04edffa00c11c1, rs=1, ric=0 prs=0 r=0
> 
> Signed-off-by: Balbir Singh <bsingharora at gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/0428491cba9277db42d66eb245d742

cheers


More information about the Linuxppc-dev mailing list