Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS native profiling #2930

Merged
merged 46 commits into from
Dec 12, 2023
Merged

iOS native profiling #2930

merged 46 commits into from
Dec 12, 2023

Conversation

vaind
Copy link
Collaborator

@vaind vaind commented Nov 30, 2023

This uses sentry-cocoa profiler to capture native profiles. It works for both NativeAOT and MonoAOT. The same approach has been previously used in the Flutter SDK

Copy link
Contributor

github-actions bot commented Nov 30, 2023

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against ed6dd63

src/Sentry/Platforms/Cocoa/CocoaProfiler.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Cocoa/CocoaProfiler.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Cocoa/CocoaProfiler.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Cocoa/CocoaProfiler.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Cocoa/CocoaProfiler.cs Outdated Show resolved Hide resolved
@vaind vaind marked this pull request as ready for review December 5, 2023 14:02
@vaind vaind requested a review from Giorgi as a code owner December 8, 2023 13:10
CHANGELOG.md Show resolved Hide resolved
src/Sentry.Profiling/ProfilingIntegration.cs Outdated Show resolved Hide resolved
src/Sentry/Internal/Hub.cs Show resolved Hide resolved
src/Sentry/Platforms/Cocoa/CocoaProfiler.cs Outdated Show resolved Hide resolved

public ISerializable? Collect(Transaction transaction)
{
// TODO change return type of CocoaSDKs CollectProfileBetween to NSMutableDictionary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need a ticket there not to forget this?

Copy link
Collaborator Author

@vaind vaind Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've already made the change in sentry-cocoa and it's merged but I've missed last-week's release so I'm keeping as is with hopes this gets resolved before the PR is merged. If not, I'll create an issue

src/Sentry/Platforms/Cocoa/CocoaProfiler.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Cocoa/CocoaProfilerFactory.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Cocoa/Facades/SerializableNSObject.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Cocoa/Facades/SerializableNSObject.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Cocoa/SentrySdk.cs Outdated Show resolved Hide resolved
@vaind vaind merged commit 41dc1ab into main Dec 12, 2023
19 checks passed
@vaind vaind deleted the feat/ios-native-profiling branch December 12, 2023 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants