-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 155191 b: refs/heads/master c: 43cbcd8 h: refs/heads/master i: 155189: 5202da6 155187: 573fc77 155183: 65b2b53 v: v3
- Loading branch information
Arnaldo Carvalho de Melo
authored and
Ingo Molnar
committed
Jul 1, 2009
1 parent
dbb4c59
commit 6fab287
Showing
13 changed files
with
40 additions
and
563 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 73c24cb86c51ff6445b292d9914d31236204393b | ||
refs/heads/master: 43cbcd8acb4c992cbd22d1ec8a08c0591be5d719 |
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,21 @@ | ||
#ifndef PERF_LINUX_KERNEL_H_ | ||
#define PERF_LINUX_KERNEL_H_ | ||
|
||
#ifndef offsetof | ||
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) | ||
#endif | ||
|
||
#ifndef container_of | ||
/** | ||
* container_of - cast a member of a structure out to the containing structure | ||
* @ptr: the pointer to the member. | ||
* @type: the type of the container struct this is embedded in. | ||
* @member: the name of the member within the struct. | ||
* | ||
*/ | ||
#define container_of(ptr, type, member) ({ \ | ||
const typeof(((type *)0)->member) * __mptr = (ptr); \ | ||
(type *)((char *)__mptr - offsetof(type, member)); }) | ||
#endif | ||
|
||
#endif |
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,6 @@ | ||
#ifndef PERF_LINUX_MODULE_H | ||
#define PERF_LINUX_MODULE_H | ||
|
||
#define EXPORT_SYMBOL(name) | ||
|
||
#endif |
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 @@ | ||
#include "../../../../include/linux/rbtree.h" |
Oops, something went wrong.