commit | 7855b1bd15c0f5a2aee502270785e8858616069c | [log] [tgz] |
---|---|---|
author | Steve MacLean <[email protected]> | Sat Sep 28 01:41:18 2019 +0000 |
committer | Greg Kroah-Hartman <[email protected]> | Thu Oct 17 13:42:43 2019 -0700 |
tree | ae004f7c18330dadddb796527c80ef3c94455c30 | |
parent | a12d94bef509cbf7a38a2391a2eceb53f22e2f85 [diff] |
perf inject jit: Fix JIT_CODE_MOVE filename commit b59711e9b0d22fd47abfa00602fd8c365cdd3ab7 upstream. During perf inject --jit, JIT_CODE_MOVE records were injecting MMAP records with an incorrect filename. Specifically it was missing the ".so" suffix. Further the JIT_CODE_LOAD record were silently truncating the jr->load.code_index field to 32 bits before generating the filename. Make both records emit the same filename based on the full 64 bit code_index field. Fixes: 9b07e27f88b9 ("perf inject: Add jitdump mmap injection support") Cc: [email protected] # v4.6+ Signed-off-by: Steve MacLean <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Brian Robbins <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Eric Saint-Etienne <[email protected]> Cc: John Keeping <[email protected]> Cc: John Salem <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Song Liu <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom McDonald <[email protected]> Link: http://lore.kernel.org/lkml/BN8PR21MB1362FF8F127B31DBF4121528F7800@BN8PR21MB1362.namprd21.prod.outlook.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>