diff --git a/tools/perf/tests/attr.py b/tools/perf/tests/attr.py index e0ea51335e9ca00e5cded1cff551804180577387..c9b4b6269b514dc6e1e88608fbb9f177f2cc561e 100644 --- a/tools/perf/tests/attr.py +++ b/tools/perf/tests/attr.py @@ -24,6 +24,7 @@ class Unsup(Exception): class Event(dict): terms = [ + 'cpu', 'flags', 'type', 'size', diff --git a/tools/perf/tests/attr/base-record b/tools/perf/tests/attr/base-record index 5bc3880f7be5096d7366355763df58a0d4f2016d..b4fc835de6074fc242e438e901cdc8463742268e 100644 --- a/tools/perf/tests/attr/base-record +++ b/tools/perf/tests/attr/base-record @@ -2,6 +2,7 @@ fd=1 group_fd=-1 flags=0 +cpu=* type=0|1 size=96 config=0 diff --git a/tools/perf/tests/attr/base-stat b/tools/perf/tests/attr/base-stat index 4bd79a82784f0c56f93db021b21b7dd24e07176f..748ee949a204c2d7a27796ae4d3d2e8c94b09676 100644 --- a/tools/perf/tests/attr/base-stat +++ b/tools/perf/tests/attr/base-stat @@ -2,6 +2,7 @@ fd=1 group_fd=-1 flags=0 +cpu=* type=0 size=96 config=0