HEX
Server: nginx/1.16.1
System: Linux ecs-04358622 4.19.90-2107.6.0.0100.oe1.bclinux.x86_64 #1 SMP Wed Dec 1 19:59:44 CST 2021 x86_64
User: nginx (994)
PHP: 8.0.0
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;
}