cregit-Linux how code gets into the kernel

Release 4.15 include/linux/tracepoint-defs.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef TRACEPOINT_DEFS_H

#define TRACEPOINT_DEFS_H 1

/*
 * File can be included directly by headers who only want to access
 * tracepoint->key to guard out of line trace calls, or the definition of
 * trace_print_flags{_u64}. Otherwise linux/tracepoint.h should be used.
 */

#include <linux/atomic.h>
#include <linux/static_key.h>


struct trace_print_flags {
	
unsigned long		mask;
	
const char		*name;
};


struct trace_print_flags_u64 {
	
unsigned long long	mask;
	
const char		*name;
};


struct tracepoint_func {
	
void *func;
	
void *data;
	
int prio;
};


struct tracepoint {
	
const char *name;		/* Tracepoint name */
	
struct static_key key;
	
int (*regfunc)(void);
	
void (*unregfunc)(void);
	
struct tracepoint_func __rcu *funcs;
};

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Andi Kleen6968.32%125.00%
Vlastimil Babka3029.70%125.00%
Steven Rostedt10.99%125.00%
Greg Kroah-Hartman10.99%125.00%
Total101100.00%4100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.