cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/include/asm/trace/common.h

#ifndef _ASM_TRACE_COMMON_H

#define _ASM_TRACE_COMMON_H

#ifdef CONFIG_TRACING

DECLARE_STATIC_KEY_FALSE(trace_pagefault_key);

#define trace_pagefault_enabled()			\
	static_branch_unlikely(&trace_pagefault_key)

DECLARE_STATIC_KEY_FALSE(trace_resched_ipi_key);

#define trace_resched_ipi_enabled()			\
	static_branch_unlikely(&trace_resched_ipi_key)
#else

static inline bool trace_pagefault_enabled(void) { return false; }

Contributors

PersonTokensPropCommitsCommitProp
Thomas Gleixner12100.00%1100.00%
Total12100.00%1100.00%


static inline bool trace_resched_ipi_enabled(void) { return false; }

Contributors

PersonTokensPropCommitsCommitProp
Thomas Gleixner12100.00%2100.00%
Total12100.00%2100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Thomas Gleixner61100.00%2100.00%
Total61100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.