Open Bug 999126 Opened 12 years ago Updated 3 years ago

Add exidx directives to bionic's memcpy

Categories

(Core :: Graphics, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: jrmuizel, Unassigned)

Details

(Whiteboard: [POVB])

Attachments

(1 file)

No description provided.
Comment on attachment 8409828 [details] [diff] [review] Add exidx directives to bionic's memcpy Do you know the right person to get this change upstreamed? It would be useful for performance analysis.
Attachment #8409828 - Flags: review?(dwilson)
What exactly does this patch achieve?
Flags: needinfo?(bgirard)
Flags: needinfo?(bgirard)
Flags: needinfo?(bgirard)
This is adding unwinding information, presumably for better profiles.
Flags: needinfo?(bgirard)
Yes that correct. If we're hitting code through this memcpy implementation we wont be able to unwind and find what is requesting the memcpy. This is important if we're seeing an unreasonable amount of memcpy time like we were seeing a canvas profile to investigate why. This should just add to the unwind tables which are typically not mapped AFAIK. They shouldn't impact the memcpy performance since they wont change the memcpy function itself.
Sounds good, I'll see what I can do to pull it to CAF
Whiteboard: [POVB]
Benwa, Sorry it took me so long to get around to this one. The baseline of your patch looks very different than CAF's tip. This is what we're currently using: https://www.codeaurora.org/cgit/quic/la/platform/bionic/commit/?id=e36fba720d5327bf5532dfcde013239080f38b56
Flags: needinfo?(bgirard)
Looks like it does the right thing but uses cfi_startproc instead of fnstart.
Flags: needinfo?(bgirard) → needinfo?(jmuizelaar)
Attachment #8409828 - Flags: review?(dwilson)
Can we land this on the b2g/ics_strawberry branch?
Flags: needinfo?(jmuizelaar)
The ICS Gonk on CAF is very solid right now. I doubt anything short of a critical security patch would land there.
So if anything, this would land on Kitkat Gonk on CAF.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: