Home
last modified time | relevance | path

Searched refs:tracing_thresh (Results 1 – 14 of 14) sorted by relevance

/linux/tools/tracing/rtla/src/
H A Dosnoise.c663 * osnoise_get_tracing_thresh - read and save the original "tracing_thresh"
668 long long tracing_thresh; in osnoise_get_tracing_thresh() local
670 if (context->tracing_thresh != OSNOISE_OPTION_INIT_VAL) in osnoise_get_tracing_thresh()
671 return context->tracing_thresh; in osnoise_get_tracing_thresh()
676 tracing_thresh = osnoise_read_ll_config("tracing_thresh"); in osnoise_get_tracing_thresh()
677 if (tracing_thresh < 0) in osnoise_get_tracing_thresh()
680 context->orig_tracing_thresh = tracing_thresh; in osnoise_get_tracing_thresh()
681 return tracing_thresh; in osnoise_get_tracing_thresh()
688 * osnoise_set_tracing_thresh - set "tracing_thresh"
690 osnoise_set_tracing_thresh(struct osnoise_context * context,long long tracing_thresh) osnoise_set_tracing_thresh() argument
[all...]
H A Dosnoise.h45 long long tracing_thresh);
H A Dcommon.h33 long long tracing_thresh; member
/linux/Documentation/trace/
H A Dhwlat_detector.rst46 # echo 100 > /sys/kernel/tracing/tracing_thresh
56 (0.5s). If tracing_thresh contains zero when hwlat tracer is enabled, it will
64 If tracing_thresh was zero when hwlat detector was started, it will be set
66 tracing_thresh that hwlat detector had will be saved and this value will
67 be restored in tracing_thresh if it is still zero when hwlat detector is
/linux/kernel/trace/
H A Dtrace_hwlat.c69 /* Save the previous tracing_thresh value */
207 u64 thresh = tracing_thresh; in get_sample()
836 save_tracing_thresh = tracing_thresh; in hwlat_tracer_init()
838 /* tracing_thresh is in nsecs, we speak in usecs */ in hwlat_tracer_init()
839 if (!tracing_thresh) in hwlat_tracer_init()
840 tracing_thresh = last_tracing_thresh; in hwlat_tracer_init()
855 last_tracing_thresh = tracing_thresh; in hwlat_tracer_reset()
857 tracing_thresh = save_tracing_thresh; in hwlat_tracer_reset()
H A Dtrace_irqsoff.c331 if (tracing_thresh) { in report_latency()
332 if (delta < tracing_thresh) in report_latency()
H A Dtrace_functions_graph.c278 if (tracing_thresh) in graph_entry()
421 if (tracing_thresh && in trace_graph_thresh_return()
422 (trace_clock_local() - ftimes->calltime < tracing_thresh)) in trace_graph_thresh_return()
473 if (tracing_thresh) in graph_trace_init()
H A Dtrace_sched_wakeup.c368 if (tracing_thresh) { in report_latency()
369 if (delta < tracing_thresh) in report_latency()
H A Dtrace.h780 extern unsigned long tracing_thresh;
H A Dtrace_osnoise.c1438 threshold = tracing_thresh ? : 1000; in run_osnoise()
H A Dtrace.c1309 tracing_thresh = threshold * 1000; in set_tracing_thresh()
1488 unsigned long __read_mostly tracing_thresh; variable
5722 return tracing_nsecs_read(&tracing_thresh, ubuf, cnt, ppos); in tracing_thresh_read()
5733 ret = tracing_nsecs_write(&tracing_thresh, ubuf, cnt, ppos); in tracing_thresh_write()
H A Dftrace.c554 if (tracing_thresh && (avg < tracing_thresh)) in function_stat_show()
H A DKconfig509 file. Every time a latency is greater than tracing_thresh, it will
/linux/tools/tracing/rtla/tests/
H A Dengine.sh17 echo 0 > tracing_thresh