Performance monitoring and analysis using perf and BPF (Wang Nan, HUAWEI) - Jovi (jovi.zhangwei@huawei.com) worked on ktap several years ago. ktap appeared to be a good solution on performance monitoring at 2013. However, due to the dispute about the in-kernel lua virtual machine, ktap's solution is not accepted by the mainline kernel. On 2014, Wang Nan restarted Jovi's work base on perf and BPF. After 2 years development, main part of perf BPF support has been merged into mainline kernel successfully. In this presentation, Wang Nan will summarize his work on perf and BPF, give a brief tutorial about the usage of BPF scripts with perf, introduce many features of perf BPF support like BPF prologue, reading from PMU, and bpf-output perf event. He will also give some HUAWEI's real experience on performance monitoring and analysis using perf and BPF, on server and smart phone.