eBPF Tracing

Get start with eBPF Tracing TODO: learn how to use bcc/trace and bpftrace bcc install bcc on RHEL dnf install -y bcc-tools The tools list under /usr/share/bcc/tools/, go through the tutorial to familiar each tools. Some tools that may interested, like bpflist, tcp*, memleak funccount command traces functions, tracepoints, or USDT probes that match a specified pattern, e.g. funccount ‘tcp_*’ trace command probes functions you specify and displays trace messages, e.

Engaging Presentations

some modules SBI situation / behavior / impact AWARE A (Acknowledge % accept) W (Wait & work) A (Actions to make you reel comfortable) R (Repeat: Take it from the top) E (End) Flows Open Introduce topic Purpose hook question puzzle short story riddle quotation preview of points(3 or 4 points) Body Conclusion end Story: end with the conclusion Question: edn with the complete answer Analogy: connect the analogy Call to action

XDP TC eBPF Programing

=== XDP Programing Reference: another example code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 // SPDX-License-Identifier: GPL-2.

How to create github PR

As more and more open source codes start to use github to maintain their code and use pull requests to accept new patches. In this artical I will introduce how to create a github PR(Pull Requests). For the detils of github PR, please see this page. You need to have a github account :) Open the project you want to contribute. I will use CKI-project as my example Click “Fork” on the right top of the page.

docker

Install docker Reference https://yeasy.gitbooks.io/docker_practice/install/centos.html Create docker group 1 2 3 4 5 6 $ sudo groupadd docker $ sudo usermod -aG docker $USER or $ sudo gpasswd -a $USER docker Start docker 1 2 # systemctl start docker # systemctl enable docker Setup mirrors 1 2 3 4 5 # cat /etc/docker/daemon.json { "registry-mirrors": ["https://registry.docker-cn.com","https://nrbewqda.mirror.aliyuncs.com","https://dmmxhzvq.mirror.aliyuncs.com"] } Pull image 1 2 3 4 5 $ docker run hello-world $ docker pull ubuntu:latest $ docker pull fedora:29 $ docker pull dokken/ubuntu-20.