This is uniquely identifies the profile just like the module signature,
but unlike module signature it also allows easily mapping the profile
back to the corresponding binary.
Details
- Reviewers
mcgrathr
Diff Detail
Event Timeline
Even with the bugs fixed, I'm not very sanguine about truncating to 31 chars.
compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c | ||
---|---|---|
114 | There can be multiple PT_NOTE entries. | |
119 | Both n_namesz and n_descsz need to be rounded up to 4. | |
122 | here too | |
125 | The bound can go negative if descsz > N/2. | |
168 | The name limit is only 32, while common build ID algorithms like sha1 will need 40 chars. |
There can be multiple PT_NOTE entries.