Skip to content

Commit 45e4089

Browse files
Jiri Olsaacmel
authored andcommitted
perf tests: Fix attr watermark field name typo
Currently the 'watermark' field is coded as 'watermask'. As the type is global through the framework and tests, the typo spawned no error. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1352130579-13451-4-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 89f552d commit 45e4089

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎tools/perf/tests/attr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static int store_event(struct perf_event_attr *attr, pid_t pid, int cpu,
110110
WRITE_ASS(inherit_stat, "d");
111111
WRITE_ASS(enable_on_exec, "d");
112112
WRITE_ASS(task, "d");
113-
WRITE_ASS(watermask, "d");
113+
WRITE_ASS(watermark, "d");
114114
WRITE_ASS(precise_ip, "d");
115115
WRITE_ASS(mmap_data, "d");
116116
WRITE_ASS(sample_id_all, "d");

‎tools/perf/tests/attr.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Event(dict):
4545
'inherit_stat',
4646
'enable_on_exec',
4747
'task',
48-
'watermask',
48+
'watermark',
4949
'precise_ip',
5050
'mmap_data',
5151
'sample_id_all',

‎tools/perf/tests/attr/base-record‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ freq=1
2222
inherit_stat=0
2323
enable_on_exec=1
2424
task=0
25-
watermask=0
25+
watermark=0
2626
precise_ip=0
2727
mmap_data=0
2828
sample_id_all=1

‎tools/perf/tests/attr/base-stat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ freq=0
2222
inherit_stat=0
2323
enable_on_exec=1
2424
task=0
25-
watermask=0
25+
watermark=0
2626
precise_ip=0
2727
mmap_data=0
2828
sample_id_all=0

0 commit comments

Comments
 (0)