Commit f59e366
committed
perf annotate: Remove sym_hist.addr[] array
It's not used anymore and the code is coverted to use a hash map. Now
sym_hist has a static size, so no need to have sizeof_sym_hist in the
struct annotated_source.
Reviewed-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240304230815.1440583-4-namhyung@kernel.org1 parent 8015457 commit f59e366
2 files changed
Lines changed: 6 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
899 | | - | |
| 899 | + | |
900 | 900 | | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | 901 | | |
925 | | - | |
| 902 | + | |
926 | 903 | | |
927 | 904 | | |
928 | 905 | | |
| |||
941 | 918 | | |
942 | 919 | | |
943 | 920 | | |
944 | | - | |
| 921 | + | |
945 | 922 | | |
946 | 923 | | |
947 | 924 | | |
| |||
1039 | 1016 | | |
1040 | 1017 | | |
1041 | 1018 | | |
1042 | | - | |
1043 | 1019 | | |
1044 | | - | |
1045 | 1020 | | |
1046 | 1021 | | |
1047 | 1022 | | |
| |||
1094 | 1069 | | |
1095 | 1070 | | |
1096 | 1071 | | |
1097 | | - | |
1098 | | - | |
| 1072 | + | |
1099 | 1073 | | |
1100 | 1074 | | |
1101 | 1075 | | |
| |||
2854 | 2828 | | |
2855 | 2829 | | |
2856 | 2830 | | |
2857 | | - | |
| 2831 | + | |
2858 | 2832 | | |
2859 | 2833 | | |
2860 | 2834 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | 245 | | |
247 | 246 | | |
248 | 247 | | |
| |||
278 | 277 | | |
279 | 278 | | |
280 | 279 | | |
281 | | - | |
282 | 280 | | |
283 | 281 | | |
284 | 282 | | |
| |||
348 | 346 | | |
349 | 347 | | |
350 | 348 | | |
351 | | - | |
| 349 | + | |
352 | 350 | | |
353 | 351 | | |
354 | 352 | | |
| |||
0 commit comments