User: Password:
|
|
Subscribe / Log in / New account

Ftrace, perf, and the tracing ABI

Ftrace, perf, and the tracing ABI

Posted May 12, 2011 13:01 UTC (Thu) by przemoc (subscriber, #67594)
Parent article: Ftrace, perf, and the tracing ABI

While I think that stable ABI is a good thing, I also see such argument in this case rather as an abuse.

PowerTop didn't use the library, but it will be hopefully fixed. Same should be done with the rest of users, if there are any others. It's open source, cooperating and fixing is relatively easy, let's not make artificial hassles upon interfaces that were wrongly used.

> If you made an interface that can be used without parsing the
> interface description, then we're stuck with the interface. Theory
> simply doesn't matter.

So, the conclusion is to always make things insanely hard to use w/o dedicated access API (and obviously at the same time making API development usually more burdensome), because otherwise it will become a part of the stable ABI horror due to some users not doing things right?


(Log in to post comments)

Ftrace, perf, and the tracing ABI

Posted May 13, 2011 7:12 UTC (Fri) by kleptog (subscriber, #1183) [Link]

The question to seems to be: why didn't PowerTop use the library? Was it because using the library was harder than doing it directly? Perhaps they didn't realise there was a library? The answer to that would be helpful in determining what to do in the future.

PowerTop and the library

Posted May 13, 2011 12:56 UTC (Fri) by corbet (editor, #1) [Link]

I get the sense it was a combination of library maturity and availability on popular distributions.

Ftrace, perf, and the tracing ABI

Posted May 13, 2011 14:38 UTC (Fri) by Velmont (guest, #46433) [Link]

Yes, I agree. This seems like a pseudo-intellectual debate not rooted in reality. It's allowed to use common sense and allow specialised programs to break once in a while when it's fully possible to fix them...


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds