forked from torvalds/linux
-
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.
s390/cpum_cf: update counter numbers to ecctr limits
Use the highest counter number that can be specified for the ecctr (extract CPU counter) instruction for perf. Signed-off-by: Hendrik Brueckner <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
- Loading branch information
1 parent
4d6e51c
commit 20ba46d
Showing
2 changed files
with
3 additions
and
3 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,7 +1,7 @@ | ||
/* | ||
* Performance event support - s390 specific definitions. | ||
* | ||
* Copyright IBM Corp. 2009, 2013 | ||
* Copyright IBM Corp. 2009, 2017 | ||
* Author(s): Martin Schwidefsky <[email protected]> | ||
* Hendrik Brueckner <[email protected]> | ||
*/ | ||
|
@@ -47,7 +47,7 @@ struct perf_sf_sde_regs { | |
}; | ||
|
||
/* Perf PMU definitions for the counter facility */ | ||
#define PERF_CPUM_CF_MAX_CTR 256 | ||
#define PERF_CPUM_CF_MAX_CTR 0xffffUL /* Max ctr for ECCTR */ | ||
|
||
/* Perf PMU definitions for the sampling facility */ | ||
#define PERF_CPUM_SF_MAX_CTR 2 | ||
|
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