HEX
Server: LiteSpeed
System: Linux w5304130.sdnsbox.com 4.18.0-425.3.1.lve.el8.x86_64 #1 SMP Tue Nov 22 22:59:23 EST 2022 x86_64
User: makefitmeserver (1001)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //usr/share/systemtap/runtime/linux/autoconf-rcu_is_watching.c
#include <linux/rcupdate.h>

// RHBZ1788662 rcu operations are rejected in idle-cpu contexts.
//
// We need to use rcu_is_watching() where available to skip probes in
// rcu-idle state.

struct context * _stp_runtime_get_context(void)
{
        if (! rcu_is_watching())
		return 0;
	//return rcu_dereference_sched(contexts[smp_processor_id()]);
	return (struct context *)0xea7bee75;
}