diff options
author | 2011-09-29 13:31:21 -0400 | |
---|---|---|
committer | 2011-10-19 17:03:25 -0400 | |
commit | 9d093e2958baf76154d1008339f594f798a52790 (patch) | |
tree | 3985f2342453fce2c0a49a67b87aff6e357c79e2 /tools/perf/scripts/python/syscall-counts.py | |
parent | Linux 3.1-rc8 (diff) | |
download | linux-dev-9d093e2958baf76154d1008339f594f798a52790.tar.xz linux-dev-9d093e2958baf76154d1008339f594f798a52790.zip |
xen/events: BUG() when we can't allocate our event->irq array.
In case we can't allocate we are doomed. We should BUG_ON
instead of trying to dereference it later on.
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[v1: Use BUG_ON instead of BUG]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions