hugo/content/posts/first.org
2022-03-04 09:15:01 +08:00

15 lines
760 B
Org Mode
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "New Task"
date: 2022-03-03T20:37:24+08:00
---
#+TITLE: New Task
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://gongzhitaao.org/orgcss/org.css"/>
** 思路
利用libbpf库构造一个C库bpf程序),暴露接口可供用户调用,将该库编译进内核中,利用接口构造一个用户态程序从而实现对相应硬件的监控。
*** 问题
**** TODO 如何构造一个静态库(动态库)?
**** TODO 如何编译进内核并可供用户调用?
**** TODO 如何实现对目标的准确监控?仅靠名字识别吗?
*** 可能的注意事项
在将该bpf程序编译进内核之前可以在调试阶段使用c语言load进内核从而观察具体效果。在确认功能正常后再编译进内核。