-
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: 30526 b: refs/heads/master c: 0080e66 h: refs/heads/master v: v3
- Loading branch information
Venkatesh Pallipadi
authored and
Linus Torvalds
committed
Jun 26, 2006
1 parent
f3bd14e
commit 0dec9c5
Showing
9 changed files
with
194 additions
and
8 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: e77deacb7b078156fcadf27b838a4ce1a65eda04 | ||
refs/heads/master: 0080e667550db5ae8c9318181500c413b99ff164 |
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,19 @@ | ||
#ifndef X86_INTEL_ARCH_PERFMON_H | ||
#define X86_INTEL_ARCH_PERFMON_H 1 | ||
|
||
#define MSR_ARCH_PERFMON_PERFCTR0 0xc1 | ||
#define MSR_ARCH_PERFMON_PERFCTR1 0xc2 | ||
|
||
#define MSR_ARCH_PERFMON_EVENTSEL0 0x186 | ||
#define MSR_ARCH_PERFMON_EVENTSEL1 0x187 | ||
|
||
#define ARCH_PERFMON_EVENTSEL0_ENABLE (1 << 22) | ||
#define ARCH_PERFMON_EVENTSEL_INT (1 << 20) | ||
#define ARCH_PERFMON_EVENTSEL_OS (1 << 17) | ||
#define ARCH_PERFMON_EVENTSEL_USR (1 << 16) | ||
|
||
#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_SEL (0x3c) | ||
#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_UMASK (0x00 << 8) | ||
#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_PRESENT (1 << 0) | ||
|
||
#endif /* X86_INTEL_ARCH_PERFMON_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ifndef X86_64_INTEL_ARCH_PERFMON_H | ||
#define X86_64_INTEL_ARCH_PERFMON_H 1 | ||
|
||
#define MSR_ARCH_PERFMON_PERFCTR0 0xc1 | ||
#define MSR_ARCH_PERFMON_PERFCTR1 0xc2 | ||
|
||
#define MSR_ARCH_PERFMON_EVENTSEL0 0x186 | ||
#define MSR_ARCH_PERFMON_EVENTSEL1 0x187 | ||
|
||
#define ARCH_PERFMON_EVENTSEL0_ENABLE (1 << 22) | ||
#define ARCH_PERFMON_EVENTSEL_INT (1 << 20) | ||
#define ARCH_PERFMON_EVENTSEL_OS (1 << 17) | ||
#define ARCH_PERFMON_EVENTSEL_USR (1 << 16) | ||
|
||
#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_SEL (0x3c) | ||
#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_UMASK (0x00 << 8) | ||
#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_PRESENT (1 << 0) | ||
|
||
#endif /* X86_64_INTEL_ARCH_PERFMON_H */ |