a266b6e4be
The traces are tracking the lifecycle of a poll group: creating it, adding and disconnecting qpairs, and finally destroying the group. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I075b7f24d14b8fbb42bb18ddd70a668a8bace118 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7158 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>
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[arg0]);
|
|
}
|
|
|
|
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(arg0), @subsystem[arg2], @subsystem[arg1]);
|
|
}
|
|
|
|
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(arg0), @subsystem[arg2], @subsystem[arg1], arg3 ? "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(arg0), arg2, @subsystem[arg1]);
|
|
}
|
|
|
|
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(arg0), arg2, @subsystem[arg1]);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_create_poll_group {
|
|
printf("%d.%06d: create poll group on thread: %d\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg0);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_destroy_poll_group {
|
|
printf("%d.%06d: destroy poll group on thread: %d\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg0);
|
|
}
|
|
|
|
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),
|
|
arg0, arg1);
|
|
}
|
|
|
|
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),
|
|
arg0);
|
|
}
|
|
|
|
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),
|
|
arg0, arg1);
|
|
}
|
|
|
|
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),
|
|
arg0, arg1);
|
|
}
|
|
|
|
usdt:__EXE__:nvmf_transport_qpair_fini {
|
|
printf("%d.%06d: destroy qpair: %p on transport layer\n",
|
|
elapsed / (uint64)(1000 * 1000), elapsed % (uint64)(1000 * 1000),
|
|
arg0);
|
|
}
|
|
|
|
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),
|
|
arg0, arg1);
|
|
}
|
|
|
|
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(arg2), arg0, arg1, str(arg3));
|
|
}
|