You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/core/template-resources/src/main/resources/profiling/component-template/profiling-symbols.json
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -72,11 +72,8 @@
72
72
"store": false
73
73
},
74
74
/*
75
-
pairs of (32bit PC offset, 32bit line number) followed by 64bit PC range base at the end.
76
-
To find line number for a given PC: find lowest offset such as offsetBase+PC >= offset, then read corresponding line number.
77
-
offsetBase could seemingly be available from exec_pc_range (it's the first value of the pair), but it's not the case.
78
-
Ranges are stored as points, which cannot be retrieve when disabling _source.
79
-
See https://www.elastic.co/guide/en/elasticsearch/reference/current/point.html .
75
+
To find the line number for a given address: find the first offset in Symbol.linetable.offsets such that offset <= base+address,
76
+
then read corresponding line number (at the same index) in Symbol.linetable.lines.
0 commit comments