aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2018-06-08 00:22:11 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-06-08 16:35:53 +0000
commit4c8205273626f27b9e5a64bdc194ab483a8cce66 (patch)
treea339d0d8aabaaadbd6a0082657266811e5f40d23 /drivers/gpu/drm/omapdrm/omap_fbdev.c
parentperf stat: Add event parsing error handling to add_default_attributes (diff)
downloadkernel-4c8205273626f27b9e5a64bdc194ab483a8cce66.tar.gz
kernel-4c8205273626f27b9e5a64bdc194ab483a8cce66.zip
perf c2c: Keep struct hist_entry at the end of struct c2c_hist_entry
Exactly as the comment just before 'struct c2c_hist_entry" says, i.e. the last entry in struct hist_entry is a zero length array, that when allocating space for hist_entry gets extra space if callchains are in use, which, if hist_entry is not at the end of c2c_hist_entry, the members after it gets corrupted when callchains get added to the rb trees collecting them, etc. Signed-off-by: Jiri Olsa <[email protected]> Reported-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Jin Yao <[email protected]> Fixes: 7f834c2e84bb ("perf c2c report: Display node for cacheline address") Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions