Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

See what your computer is doing with Ftrace utilities

Автор: linux.conf.au

Загружено: 2019-01-24

Просмотров: 31732

Описание:

Steven Rostedt

https://2019.linux.conf.au/schedule/p...

Ftrace is the official tracer of the Linux kernel. It allows you to see what is happening in the black box that the applications sit on. Ftrace is a very powerful tool, but like all tools, it is useless if you don't know how to use it, or even know its full potential. This tutorial will teach you how to use Ftrace from the command line (all major distributions have Ftrace enabled), as well as how to use trace-cmd and finally, if time allows, the new KernelShark. trace-cmd and KernelShark can be easily downloaded from Steven's git repository on kernel.org (best to get the latest even though your distribution may have an older version available). Steven will first walk you through some of the main commands to display how Ftrace can show you how your applications are being scheduled in, how many page faults they are taking, and even see what other applications may be interfering with your main application. Some of these can be used to see if there's any rouge applications running on your system. Then Steven will walk you through how to use trace-cmd as it allows you to have even more flexibility with its post processing analysis. Finally, an introduction to the new KernelShark, which shows a graphic display of the data that you have retrieved.

In order to get the most from this tutorial, it is recommend that you:
1) Have a laptop running a recent Linux distribution (Running in a VM will work too)
2) Download and install the most recent trace-cmd and KernelShark
$ git clone git://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git
$ cd trace-cmd
$ make
$ less kernel-shark-qt/README # to make sure you have all the dependencies
$ make gui
$ make doc
$ sudo make install
$ sudo make install_gui
$ sudo make install_doc
3) It will be helpful if you download the source code of the kernel that is running on your laptop
4) Having the debug info of that kernel can also be useful

Note, 3 and 4 above are helpful but not required.

linux.conf.au is a conference about the Linux operating system, and all aspects of the thriving ecosystem of Free and Open Source Software that has grown up around it. Run since 1999, in a different Australian or New Zealand city each year, by a team of local volunteers, LCA invites more than 500 people to learn from the people who shape the future of Open Source. For more information on the conference see https://linux.conf.au/

#linux.conf.au #linux #foss #opensource

See what your computer is doing with Ftrace utilities

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Booting faster

Booting faster

Debugging the Linux Kernel

Debugging the Linux Kernel

Steven Rostedt - Learning the Linux Kernel with tracing

Steven Rostedt - Learning the Linux Kernel with tracing

Firmware security, why it matters and how you can have it

Firmware security, why it matters and how you can have it

Как Ubuntu Предала Linux - Вся Правда о Взлёте и Падении Canonical

Как Ubuntu Предала Linux - Вся Правда о Взлёте и Падении Canonical

Greybeard Qualification (Linux Internals) part 1: Process Structure and IPC

Greybeard Qualification (Linux Internals) part 1: Process Structure and IPC

Arguing with Linus Torvalds - Steven Rostedt

Arguing with Linus Torvalds - Steven Rostedt

The Tragedy of systemd

The Tragedy of systemd

Делает ли усложнение ядра его сложнее?

Делает ли усложнение ядра его сложнее?

Velocity 2017: Performance Analysis Superpowers with Linux eBPF

Velocity 2017: Performance Analysis Superpowers with Linux eBPF

Making C Less Dangerous in the Linux kernel

Making C Less Dangerous in the Linux kernel

Kernel Recipes 2019 - ftrace: Where modifying a running kernel all started

Kernel Recipes 2019 - ftrace: Where modifying a running kernel all started

Дерево устройств: описание оборудования для всех!

Дерево устройств: описание оборудования для всех!

Mentorship Session: Linux Kernel Debugging Tricks of the Trade

Mentorship Session: Linux Kernel Debugging Tricks of the Trade

The kernel report

The kernel report

Квалификация Greybeard (внутреннее устройство Linux), часть 5: блочные устройства и файловые системы

Квалификация Greybeard (внутреннее устройство Linux), часть 5: блочные устройства и файловые системы

De-mystifying interrupt balancing: irqbalance

De-mystifying interrupt balancing: irqbalance

Kernel Recipes 2017 - Perf in Netflix - Brendan Gregg

Kernel Recipes 2017 - Perf in Netflix - Brendan Gregg

35C3 -  Kernel Tracing With eBPF

35C3 - Kernel Tracing With eBPF

Debugging the Linux kernel with GDB

Debugging the Linux kernel with GDB

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]