Kernel Recipes 2017 - Understanding the Linux Kernel via Ftrace - Steven Rostedt

Поділитися
Вставка
  • Опубліковано 10 жов 2017
  • Ftrace is the official tracer of the Linux kernel. It has been apart of Linux since 2.6.31, and has grown tremendously ever since. Ftrace’s name comes from its most powerful feature: function tracing. But the ftrace infrastructure is much more than that. It also encompasses the trace events that are used by perf, as well as kprobes that can dynamically add trace events that the user defines.
    This talk will focus on learning how the kernel works by using the ftrace infrastructure. It will show how to see what happens within the kernel during a system call; learn how interrupts work; see how ones processes are being scheduled, and more. A quick introduction to some tools like trace-cmd and KernelShark will also be demonstrated.
    Steven Rostedt, VMware
  • Наука та технологія

КОМЕНТАРІ • 15

  • @bboymimi
    @bboymimi 4 роки тому +2

    Good video, I still learn something new even have been doing many years of kernel debugging.

    • @waylonforest6193
      @waylonforest6193 2 роки тому

      you probably dont give a shit but does any of you know a way to get back into an Instagram account?
      I was stupid forgot my account password. I would appreciate any tips you can give me

    • @wilderfletcher5622
      @wilderfletcher5622 2 роки тому

      @Waylon Forest Instablaster :)

    • @waylonforest6193
      @waylonforest6193 2 роки тому

      @Wilder Fletcher i really appreciate your reply. I found the site thru google and im trying it out now.
      Seems to take a while so I will reply here later when my account password hopefully is recovered.

    • @waylonforest6193
      @waylonforest6193 2 роки тому

      @Wilder Fletcher it did the trick and I now got access to my account again. I am so happy!
      Thanks so much you saved my account !

    • @wilderfletcher5622
      @wilderfletcher5622 2 роки тому

      @Waylon Forest You are welcome :D

  • @islandcave8738
    @islandcave8738 2 роки тому +1

    Black box, that's what I was wondering, I was thinking about how does sendto magically send the binary code to logic gates sitting on the network card to trigger it to send data without some code that explicitly seems to do that.
    Then on some research, I discovered it some mysterious call going on down in the kernel.
    I guess it's the kernel that also sets the stack pointer for a program that seems to mysteriously have the required value already set into it when you start coding in assembly, despite being already just a 1 to 1 mapping of straight binary and machine code, with perhaps just a little bit of syntactic sugar thrown in.

  • @olderman5113
    @olderman5113 6 років тому +1

    nice video

  • @vahidgharaee3518
    @vahidgharaee3518 3 роки тому

    so useful!

  • @w086410
    @w086410 Рік тому

    where to get the ppt of this talk?

  • @peppigue
    @peppigue 3 роки тому +1

    What's cooking in the microwave...?

  • @-theparliament-sessions6215
    @-theparliament-sessions6215 4 роки тому +1

    I don’t understand any of his talks.
    I suspect nobody does.
    It’s like he is talking with himself.
    Who pays for this?

    • @karimmanaouil9354
      @karimmanaouil9354 3 роки тому +5

      I don't want to judge you but you are either not focusing and not paying too much attention (it needs some significant mental effort to follow) or you are too newbish and you have no idea what he is talking about and in this case yoy have no other choice, you need to dig a little deeper.

    • @karimmanaouil9354
      @karimmanaouil9354 3 роки тому +2

      Steven's talks are not for newbies. There is a lot of things he assumes the readers know and usually the talks are very understood by intermediate kernel developers (people that know a certain level of details on operating systems and Linux and they did a little more than just writing a device driver)

    • @shareefmahmoud8218
      @shareefmahmoud8218 3 роки тому +6

      @@karimmanaouil9354 i dont think is it about level of expertise , as it is about following a certain flow of the story ; the lecturer is trying to tell his own story using the Kernel Tracing framework that he developed , along some valuable notes about the limitations of such framework and what are the best practices that may help narrow down the slack ; the domain of knowledge here is the Linux Kernel , and how to extract some information from its trace that might help developers and experienced system Admins understand what is happening in the Kernel at certain moments ; so the person using that trace framework will have to read/search the Kernel Source code occasionally to understand the significance of some data structures , functions or even variables