ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Ksummit-discuss] [TECH TOPIC] Pulling away from the tracing ABI quicksands
@ 2017-06-29 21:20 Mathieu Desnoyers
  2017-06-29 23:55 ` Steven Rostedt
  0 siblings, 1 reply; 32+ messages in thread
From: Mathieu Desnoyers @ 2017-06-29 21:20 UTC (permalink / raw)
  To: ksummit-discuss
  Cc: Peter Zijlstra, Julien Desfossez, daolivei, bristot, Ingo Molnar

Our attempts at extending the Linux scheduler Tracepoints [1,2,3] to cover sched
rt and deadline policies went fairly well until we reached the point where
we had to extend the tracing ABI exposed to user-space by Ftrace through the
DebugFS tracing sub-directory. We aim to expose more accurate and complete
scheduler information (based on the scheduling class), and eventually deprecate
implementation-specific fields that should never have been exposed to user-space
in the first place.

Example of problems we are facing:

  * Humans on the receiving end of a kernel ABI

    Should we limit the design of kernel ABIs based on their direct
    use by humans through echo and redirections, or can we aim design
    of those interfaces at scripts and user-space programs/libraries ?

    A simple and extensible kernel ABI is rarely an easy to use end-user
    interface.

  * How can we deprecate, remove, or re-purpose a field in an
    event ? For instance, the "prio" field in the scheduler
    instrumentation is an internal implementation detail.

Perhaps it would be good to use the opportunity to meet at the
Kernel Summit and discuss this issue.

Thanks,

Mathieu and Julien


[1] [RFC PATCH 5/6] tracing: extend scheduling tracepoints
    http://lkml.kernel.org/r/1474060148-13171-5-git-send-email-jdesfossez@efficios.com
[2] [RFC PATCH v2 0/5] Additional scheduling information in tracepoints
    http://lkml.kernel.org/r/1474649375-28056-1-git-send-email-jdesfossez@efficios.com
[3] [RFC PATCH v3 0/2] Extend scheduling tracepoints
    http://lkml.kernel.org/r/1484327993-5036-1-git-send-email-jdesfossez@efficios.com

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2017-07-28 13:03 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29 21:20 [Ksummit-discuss] [TECH TOPIC] Pulling away from the tracing ABI quicksands Mathieu Desnoyers
2017-06-29 23:55 ` Steven Rostedt
2017-06-30  0:03   ` Linus Torvalds
2017-06-30  0:32     ` Steven Rostedt
2017-06-30  0:41       ` Linus Torvalds
2017-06-30  0:59         ` Steven Rostedt
2017-06-30  0:52       ` Steven Rostedt
2017-06-30  1:00         ` Linus Torvalds
2017-06-30  1:16           ` Steven Rostedt
2017-06-30  1:27             ` Steven Rostedt
2017-06-30  1:51               ` Linus Torvalds
2017-06-30  2:12                 ` Steven Rostedt
2017-06-30  2:34                   ` Linus Torvalds
2017-06-30  2:48                     ` Steven Rostedt
2017-06-30  2:58                     ` Alexei Starovoitov
2017-06-30  3:02                       ` Steven Rostedt
2017-06-30  3:20                         ` Steven Rostedt
2017-07-27 14:35                           ` Mathieu Desnoyers
2017-07-27 15:57                             ` Steven Rostedt
2017-06-30 18:24                         ` Josef Bacik
2017-06-30 18:29                           ` Steven Rostedt
2017-06-30 18:30                             ` Steven Rostedt
2017-06-30 18:37                               ` Josef Bacik
2017-07-06 19:10                                 ` Steven Rostedt
2017-07-21 21:45                                   ` Mathieu Desnoyers
2017-07-21 23:15                                     ` James Bottomley
2017-07-22  2:18                                     ` Steven Rostedt
2017-07-23 16:24                                       ` Josef Bacik
2017-07-23 21:25                                         ` Steven Rostedt
2017-07-04 14:51                   ` Peter Zijlstra
2017-06-30  1:38             ` Linus Torvalds
2017-06-30  1:45               ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox