aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2016-01-24 20:08:52 -0600
committerRafael J. Wysocki <[email protected]>2016-02-11 11:07:08 +0100
commitf97238373b8662a6d580e204df2e7bcbfa43e27a (patch)
treecfb079abd3a87ed329d9a4f68a5327f82de25f61 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 (diff)
PM / sleep: declare __tracedata symbols as char[] rather than char
Accessing more than one byte from a symbol declared simply 'char' is undefined behavior, as reported by UBSAN: UBSAN: Undefined behaviour in drivers/base/power/trace.c:178:18 load of address ffffffff8203fc78 with insufficient space for an object of type 'char' Avoid this by declaring the symbols as arrays. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions