• Home
  • Raw
  • Download

Lines Matching refs:type

558 int register_tracer(struct tracer *type)  argument
564 if (!type->name) {
581 if (strcmp(type->name, t->name) == 0) {
584 type->name);
590 if (!type->set_flag)
591 type->set_flag = &dummy_set_flag;
592 if (!type->flags)
593 type->flags = &dummy_tracer_flags;
595 if (!type->flags->opts)
596 type->flags->opts = dummy_tracer_opt;
599 if (type->selftest) {
614 current_trace = type;
616 pr_info("Testing tracer %s: ", type->name);
617 ret = type->selftest(type, tr);
632 type->next = trace_types;
633 trace_types = type;
634 len = strlen(type->name);
646 void unregister_tracer(struct tracer *type) argument
653 if (*t == type)
656 pr_info("Trace %s not registered\n", type->name);
661 if (strlen(type->name) != max_tracer_type_len)
898 entry->ent.type = TRACE_FN;
924 entry->ent.type = TRACE_GRAPH_ENT;
948 entry->ent.type = TRACE_GRAPH_RET;
983 entry->ent.type = TRACE_STACK;
1024 entry->ent.type = TRACE_USER_STACK;
1062 entry->ent.type = TRACE_SPECIAL;
1097 entry->ent.type = TRACE_CTX;
1127 entry->ent.type = TRACE_WAKE;
1649 struct tracer *type = current_trace; local
1654 if (type)
1655 name = type->name;
1778 if (!ent || ent->type != TRACE_CONT) {
1798 } while (ent && ent->type == TRACE_CONT);
1836 if (entry->type == TRACE_CONT)
1862 switch (entry->type) {
1886 S, entry->type == TRACE_CTX ? "==>" : " +",
1950 trace_seq_printf(s, "Unknown type %d\n", entry->type);
1970 if (entry->type == TRACE_CONT)
1991 switch (entry->type) {
2028 entry->type == TRACE_CTX ? "==>" : " +",
2126 if (entry->type == TRACE_CONT)
2134 switch (entry->type) {
2154 S = entry->type == TRACE_WAKE ? '+' :
2219 if (entry->type == TRACE_CONT)
2226 switch (entry->type) {
2243 S = entry->type == TRACE_WAKE ? '+' :
2298 if (entry->type == TRACE_CONT)
2305 switch (entry->type) {
2371 if (iter->ent->type == TRACE_PRINT &&
3661 entry->ent.type = TRACE_PRINT;