Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the 5.16.12 stable release
- Loading branch information
Showing
173 changed files
with
1,535 additions
and
784 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
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
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,27 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Copyright (C) 2022 Changbin Du <changbin.du@gmail.com> | ||
*/ | ||
|
||
#include <linux/irqflags.h> | ||
#include <linux/kprobes.h> | ||
#include "trace_irq.h" | ||
|
||
/* | ||
* trace_hardirqs_on/off require the caller to setup frame pointer properly. | ||
* Otherwise, CALLER_ADDR1 might trigger an pagging exception in kernel. | ||
* Here we add one extra level so they can be safely called by low | ||
* level entry code which $fp is used for other purpose. | ||
*/ | ||
|
||
void __trace_hardirqs_on(void) | ||
{ | ||
trace_hardirqs_on(); | ||
} | ||
NOKPROBE_SYMBOL(__trace_hardirqs_on); | ||
|
||
void __trace_hardirqs_off(void) | ||
{ | ||
trace_hardirqs_off(); | ||
} | ||
NOKPROBE_SYMBOL(__trace_hardirqs_off); |
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,11 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* Copyright (C) 2022 Changbin Du <changbin.du@gmail.com> | ||
*/ | ||
#ifndef __TRACE_IRQ_H | ||
#define __TRACE_IRQ_H | ||
|
||
void __trace_hardirqs_on(void); | ||
void __trace_hardirqs_off(void); | ||
|
||
#endif /* __TRACE_IRQ_H */ |
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
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
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
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
Oops, something went wrong.