Skip to content

Instantly share code, notes, and snippets.

View akostrikov's full-sized avatar

Александр Костриков akostrikov

View GitHub Profile

Требования:

Виртуальная машина со свежим ядром

I: Kernelshark intro

Установка kernelshark, trace простой функции в ядре

  1. Рассказ про ptrace, ebpf.
  2. Обзор полезных ссылок
http://www.brendangregg.com/bpf-performance-tools-book.html
@akostrikov
akostrikov / socat-examples.sh
Created July 10, 2018 18:51
socat-examples.sh
// Examples for using socat (and filan)
//"$" means normal user, "#" requires privileges, "//" starts a comment
///////////////////////////////////////////////////////////////////////////////
// similar to netcat
// connect to 10.1.1.1 on port 80 and relay to and from stdio