ARM-software / gator

Sources for Arm Streamline's gator daemon, part of Arm Mobile Studio suite of performance analysis tools
https://www.arm.com/products/development-tools/graphics/arm-mobile-studio
133 stars 70 forks source link

gator: Make the module compatilble with kernel >=4.19 #9

Closed madhurki closed 5 years ago

madhurki commented 5 years ago

Refer kernel patch 9c0be3f6, which fixes tracepoint array element size mismatch. This patch leverages the same.

Signed-off-by: Madhurkiran Harikrishnan madhurkiranharikrishnan@gmail.com

bengaineyarm commented 5 years ago

Hi, thanks for the pull; this is fixed as for 6.9 so closing.

bengaineyarm commented 5 years ago

Hmm ok - is CONFIG_HAVE_ARCH_PREL32_RELOCATIONS not defined? I'll merge your change on top of 6.9

On Tue, 2019-04-30 at 11:13 -0700, madsFirmware wrote:

Please find the error logs below:

/workspace2/mali-r7p0/gator/driver/gator_main.c: In function ‘gator_new_tracepoint_module’: /workspace2/mali-r7p0/gator/driver/gator_main.c:1396:41: error: initialization of ‘struct tracepoint const’ from incompatible pointer type ‘const tracepoint_ptr_t ’ {aka ‘const int ’} [-Werror=incompatible-pointer-types] struct tracepoint const begin = tp_mod->mod->tracepoints_ptrs; ^~ /workspace2/mali-r7p0/gator/driver/gator_main.c:1397:39: error: initialization of ‘struct tracepoint const’ from incompatible pointer type ‘const tracepoint_ptr_t ’ {aka ‘const int ’} [-Werror=incompatible-pointer-types] struct tracepoint const end = tp_mod->mod->tracepoints_ptrs + tp_mod->mod->num_tracepoints; ^~

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/ARM-software/gator/pull/9#issuecomment-488057483, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADAGIAIJFRQ3ML6JDRVADJLPTCD43ANCNFSM4HI3CHYQ.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.