lkml.org 
[lkml]   [1996]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: "Exception at ..." with 2.1.9 and 2.1.10 kernels
Date

> I suspect the point is to use it as a debugging device to find
> unaligned accesses in the kernel (that aren't portable to RISC
> architectures). Don't enable it in user space, though -- legitimate
> programs will break.

The aligment traps are unbelievably useful in user space if we put them
in. Yes it needs you to add a piece of code to the program (crtalign.o
anyone). But it can tell you what kind of badly aligned operations you
are doing, and give you a dump to study.

There are a couple of other profiling items that would be nice to have
visible via user space. Tracing both page faults and TLB misses.

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.434 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site