This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from sched-ext/htejun/dump
Improve debug dump
- Loading branch information
Showing
6 changed files
with
314 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
#undef TRACE_SYSTEM | ||
#define TRACE_SYSTEM sched_ext | ||
|
||
#if !defined(_TRACE_SCHED_EXT_H) || defined(TRACE_HEADER_MULTI_READ) | ||
#define _TRACE_SCHED_EXT_H | ||
|
||
#include <linux/tracepoint.h> | ||
|
||
TRACE_EVENT(sched_ext_dump, | ||
|
||
TP_PROTO(const char *line), | ||
|
||
TP_ARGS(line), | ||
|
||
TP_STRUCT__entry( | ||
__string(line, line) | ||
), | ||
|
||
TP_fast_assign( | ||
__assign_str(line, line); | ||
), | ||
|
||
TP_printk("%s", | ||
__get_str(line) | ||
) | ||
); | ||
|
||
#endif /* _TRACE_SCHED_EXT_H */ | ||
|
||
/* This part must be outside protection */ | ||
#include <trace/define_trace.h> |
Oops, something went wrong.