a4044e77d6
This will allow to match and compare the DTrace probes with SPDK traces as they'll be using the same source for the timestamps. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I686c3351428c75f9b618a1a909836504fccad828 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8101 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com>
84 lines
2.8 KiB
Plaintext
84 lines
2.8 KiB
Plaintext
usdt:__EXE__:nvmf_tgt_state {
|
|
printf("%d.%06d: nvmf_tgt reached state %s\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
@target[arg1]);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_subsystem_change_state {
|
|
printf("%d.%06d: %s change state from %s to %s start\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
str(arg1), @subsystem[arg3], @subsystem[arg2]);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_subsystem_change_state_done {
|
|
printf("%d.%06d: %s change state from %s to %s %s\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
str(arg1), @subsystem[arg3], @subsystem[arg2], arg4 ? "failed" : "done");
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_pg_change_state {
|
|
printf("%d.%06d: %s on thread %d state to %s start\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
str(arg1), arg3, @subsystem[arg2]);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_pg_change_state_done {
|
|
printf("%d.%06d: %s on thread %d state to %s done\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
str(arg1), arg3, @subsystem[arg2]);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_create_poll_group {
|
|
printf("%d.%06d: create poll group on thread: %d\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg1);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_destroy_poll_group {
|
|
printf("%d.%06d: destroy poll group on thread: %d\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg1);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_poll_group_add_qpair {
|
|
printf("%d.%06d: add qpair: %p to poll group on thread %d\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg1, arg2);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_destroy_poll_group_qpairs {
|
|
printf("%d.%06d: destroy qpairs on poll group on thread %d\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg1);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_poll_group_remove_qpair {
|
|
printf("%d.%06d: remove qpair: %p from poll group on thread %d\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg1, arg2);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_qpair_disconnect {
|
|
printf("%d.%06d: disconnect qpair: %p from poll group on thread %d\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg1, arg2);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_transport_qpair_fini {
|
|
printf("%d.%06d: destroy qpair: %p on transport layer\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg1);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_poll_group_drain_qpair {
|
|
printf("%d.%06d: drain qpair: %p from poll group on thread %d\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg1, arg2);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_ctrlr_add_qpair {
|
|
printf("%d.%06d: %s add qpair: %p, qid: %d for host: %s\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
str(arg3), arg1, arg2, str(arg4));
|
|
}
|