403Webshell
Server IP : 172.67.216.182  /  Your IP : 172.70.142.87
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/src/linux-headers-5.15.0-143/include/trace/events/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/src/linux-headers-5.15.0-143/include/trace/events/error_report.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Declarations for error reporting tracepoints.
 *
 * Copyright (C) 2021, Google LLC.
 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM error_report

#if !defined(_TRACE_ERROR_REPORT_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_ERROR_REPORT_H

#include <linux/tracepoint.h>

#ifndef __ERROR_REPORT_DECLARE_TRACE_ENUMS_ONCE_ONLY
#define __ERROR_REPORT_DECLARE_TRACE_ENUMS_ONCE_ONLY

enum error_detector {
	ERROR_DETECTOR_KFENCE,
	ERROR_DETECTOR_KASAN
};

#endif /* __ERROR_REPORT_DECLARE_TRACE_ENUMS_ONCE_ONLY */

#define error_detector_list	\
	EM(ERROR_DETECTOR_KFENCE, "kfence")	\
	EMe(ERROR_DETECTOR_KASAN, "kasan")
/* Always end the list with an EMe. */

#undef EM
#undef EMe

#define EM(a, b)	TRACE_DEFINE_ENUM(a);
#define EMe(a, b)	TRACE_DEFINE_ENUM(a);

error_detector_list

#undef EM
#undef EMe

#define EM(a, b) { a, b },
#define EMe(a, b) { a, b }

#define show_error_detector_list(val) \
	__print_symbolic(val, error_detector_list)

DECLARE_EVENT_CLASS(error_report_template,
		    TP_PROTO(enum error_detector error_detector, unsigned long id),
		    TP_ARGS(error_detector, id),
		    TP_STRUCT__entry(__field(enum error_detector, error_detector)
					     __field(unsigned long, id)),
		    TP_fast_assign(__entry->error_detector = error_detector;
				   __entry->id = id;),
		    TP_printk("[%s] %lx",
			      show_error_detector_list(__entry->error_detector),
			      __entry->id));

/**
 * error_report_end - called after printing the error report
 * @error_detector:	short string describing the error detection tool
 * @id:			pseudo-unique descriptor identifying the report
 *			(e.g. the memory access address)
 *
 * This event occurs right after a debugging tool finishes printing the error
 * report.
 */
DEFINE_EVENT(error_report_template, error_report_end,
	     TP_PROTO(enum error_detector error_detector, unsigned long id),
	     TP_ARGS(error_detector, id));

#endif /* _TRACE_ERROR_REPORT_H */

/* This part must be outside protection */
#include <trace/define_trace.h>

Youez - 2016 - github.com/yon3zu
LinuXploit