scripts: add bpf/send_msg.bt
This script tracks spdk_thread_send_msg and spdk_for_each_channel calls. It also uses usym to get the name of the function pointer passed to these calls. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ia0cf5b50538bd26a3e15e35cbab765fe3c327c73 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7711 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
This commit is contained in:
parent
af0bf0f006
commit
cbb57e0d96
7
scripts/bpf/send_msg.bt
Normal file
7
scripts/bpf/send_msg.bt
Normal file
@ -0,0 +1,7 @@
|
||||
uprobe:__EXE__:spdk_thread_send_msg {
|
||||
@send_msg[usym(arg1)] = count();
|
||||
}
|
||||
|
||||
uprobe:__EXE__:spdk_for_each_channel {
|
||||
@for_each_channel[usym(arg1)] = count();
|
||||
}
|
Loading…
Reference in New Issue
Block a user