Currently only calls to mcount were suppressed with
no_instrument_function attribute.
Linux kernel requires that calls to fentry should also not be
generated.
This is an extended fix for PR PR33515.
Details
Details
- Reviewers
hfinkel rengolin srhines rnk rsmith rjmccall hans - Commits
- rG886b4505f2d7: Do not generate calls to fentry with __attribute__((no_instrument_function))
rL326639: Do not generate calls to fentry with __attribute__((no_instrument_function))
rC326639: Do not generate calls to fentry with __attribute__((no_instrument_function))
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
This looks right to me, but we should check with @hans since I think he touched this code last.