Skip to content

Commit 79a1a40

Browse files
vikmikalbertzaharovits
authored andcommitted
Fix comment in profiling-symbols.json (#110808)
1 parent 15fef0d commit 79a1a40

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

x-pack/plugin/core/template-resources/src/main/resources/profiling/component-template/profiling-symbols.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,8 @@
7272
"store": false
7373
},
7474
/*
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.
8077

8178
Linetable: base for offsets (64bit PC range base)
8279
*/

0 commit comments

Comments
 (0)