tool_ops
return ntb_set_ctx(tc->ntb, tc, &tool_ops);
static const struct ntb_ctx_ops tool_ops = {
int run_tool(struct tool_ops *ops, int argc, char *argv[])
struct tool_ops;
struct tool_ops *ops;
extern struct tool_ops timerlat_top_ops, timerlat_hist_ops;
extern struct tool_ops osnoise_top_ops, osnoise_hist_ops;
int run_tool(struct tool_ops *ops, int argc, char *argv[]);
struct tool_ops osnoise_hist_ops = {
struct tool_ops osnoise_top_ops = {
struct tool_ops timerlat_hist_ops = {
struct tool_ops timerlat_top_ops = {