Skip to content

Commit

Permalink
Update mutrace.bpf.c
Browse files Browse the repository at this point in the history
  • Loading branch information
vvzxy authored Jul 10, 2024
1 parent 3c94d95 commit 605e3e2
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions eBPF_Supermarket/CPU_Subsystem/cpu_watcher/bpf/mutrace.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,27 +167,27 @@ int BPF_KPROBE(trace_mutex_unlock, struct mutex *lock) {
/* 用户态互斥锁 */
/*----------------------------------------------*/

SEC("uprobe")
int BPF_KPROBE(pthread_mutex_lock_init, void *__mutex){
// SEC("uprobe")
// int BPF_KPROBE(pthread_mutex_lock_init, void *__mutex){

}
// }

SEC("uprobe")
int BPF_KPROBE(pthread_mutex_lock,void *__mutex){
// SEC("uprobe")
// int BPF_KPROBE(pthread_mutex_lock,void *__mutex){

}
// }

SEC("uprobe")
int BPF_KPROBE(pthread_mutex_trylock, void *__mutex){
// SEC("uprobe")
// int BPF_KPROBE(pthread_mutex_trylock, void *__mutex){

}
// }

SEC("uprobe")
int BPF_KPROBE(pthread_mutex_unlock, void *__mutex){
// SEC("uprobe")
// int BPF_KPROBE(pthread_mutex_unlock, void *__mutex){

}
// }

SEC("uprobe")
int BPF_KPROBE(pthread_mutex_destroy,void *__mutex){
// SEC("uprobe")
// int BPF_KPROBE(pthread_mutex_destroy,void *__mutex){

}
// }

0 comments on commit 605e3e2

Please sign in to comment.