Re: [Bug #11954] sysprof tracer ABI regression in 2.6.28rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ingo Molnar <mingo@xxxxxxx> writes:

> * Soeren Sandmann <sandmann@xxxxxxxxxxx> wrote:
> 
> > There are no ABI guarantees for the sysprof tracer at this point, 
> > given that it is in debugfs [...]
> 
> to avoid situations like this, it would be nice to print out the 
> format string itself in the trace header, in printf format string 
> style. That way if there's a trivial expansion in trace format, it can 
> be detected (and even followed) by user-space - without some ugly 
> version based API.

It's not clear to me that sysprof userspace could realistically do
runtime detection. It would require (a) using sscanf() to parse the
output and (b) that only the types changed, not the actual content or
ordering. (a) is likely a non-starter performance-wise (the first
version actually did this and it was too slow), and (b) means there
are strict limits to what could be changed anyway.


Soren
--
To unsubscribe from this list: send the line "unsubscribe kernel-testers" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux