]> Pileus Git - ~andy/linux/commit
perf tests: Check proper prev_state size for sched_switch tp
authorJiri Olsa <jolsa@redhat.com>
Fri, 12 Jul 2013 14:29:06 +0000 (16:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 17 Jul 2013 15:34:53 +0000 (12:34 -0300)
commit8d76e1852794fac6ff0b538120d9856b0b07ef8a
tree0f713221ffda7e216c2f72da5171f2d5cdddb951
parent5698d2c99ec11006b4c241ebad5252289902b358
perf tests: Check proper prev_state size for sched_switch tp

The prev_state is defined as long which is 4 bytes long on 32-bit x86.
Changing the check against sizeof(long).

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1373639346-4547-1-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/evsel-tp-sched.c