Lines Matching refs:selftest
59 * We need to change this state when a selftest is running.
60 * A selftest will lurk into the ring-buffer to count the
61 * entries inserted during the selftest although some concurrent
2080 struct trace_selftests *selftest;
2082 selftest = kmalloc(sizeof(*selftest), GFP_KERNEL);
2083 if (!selftest)
2086 selftest->type = type;
2087 list_add(&selftest->list, &postponed_selftests);
2097 if (!type->selftest || tracing_selftest_disabled)
2115 * Run a selftest on this tracer.
2137 ret = type->selftest(type, tr);
2206 WARN(1, "tracer: %s failed selftest, disabling\n",
8676 /* Let selftest have access to static functions in this file */