Home
last modified time | relevance | path

Searched refs:orig_opt_workload (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/tracing/rtla/src/
H A Dosnoise.c849 if (context->orig_opt_workload != OSNOISE_OPTION_INIT_VAL) in osnoise_get_workload()
850 return context->orig_opt_workload; in osnoise_get_workload()
852 context->orig_opt_workload = osnoise_options_get_option("OSNOISE_WORKLOAD"); in osnoise_get_workload()
854 return context->orig_opt_workload; in osnoise_get_workload()
881 if (context->orig_opt_workload == OSNOISE_OPTION_INIT_VAL) in osnoise_restore_workload()
884 if (context->orig_opt_workload == context->opt_workload) in osnoise_restore_workload()
887 retval = osnoise_options_set_option("OSNOISE_WORKLOAD", context->orig_opt_workload); in osnoise_restore_workload()
892 context->orig_opt_workload = OSNOISE_OPTION_INIT_VAL; in osnoise_restore_workload()
899 if (context->orig_opt_workload == OSNOISE_OPTION_INIT_VAL) in osnoise_put_workload()
902 context->orig_opt_workload = OSNOISE_OPTION_INIT_VAL; in osnoise_put_workload()
[all …]
H A Dosnoise.h47 int orig_opt_workload; member