Skip to content

Commit d1dfcd0

Browse files
committed
fix bad merge conflict resolution
1 parent d186505 commit d1dfcd0

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

Sources/Sentry/Profiling/SentryLaunchProfiling.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@
158158
SentryLaunchProfileConfig
159159
sentry_shouldProfileNextLaunch(SentryOptions *options)
160160
{
161-
if ([options isContinuousProfilingEnabled] && options.enableAppLaunchProfiling) {
162-
return (SentryLaunchProfileConfig) { YES, nil, nil };
163-
}
164-
165161
if ([options isContinuousProfilingV2Enabled]) {
166162
return sentry_launchShouldHaveContinuousProfilingV2(options);
167163
}

Sources/Sentry/Public/SentryOptions.h

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -543,9 +543,7 @@ typedef void (^SentryProfilingConfigurationBlock)(SentryProfileOptions *_Nonnull
543543
* @c SentryProfileOptions.startOnAppStart and @c SentryProfileOptions.lifecycle .
544544
* @note Profiling is automatically disabled if a thread sanitizer is attached.
545545
*/
546-
@property (nonatomic, assign) BOOL enableAppLaunchProfiling DEPRECATED_MSG_ATTRIBUTE(
547-
"This property will be removed in a future version of the SDK. See startProfilerOnAppStart and "
548-
"profileLifecycle.");
546+
@property (nonatomic, assign) BOOL enableAppLaunchProfiling;
549547

550548
/**
551549
* @note Profiling is not supported on watchOS or tvOS.
@@ -572,8 +570,7 @@ typedef void (^SentryProfilingConfigurationBlock)(SentryProfileOptions *_Nonnull
572570
* @warning This property is deprecated and will be removed in a future version of the SDK. See
573571
* @c SentryProfileOptions.sessionSampleRate.
574572
*/
575-
@property (nullable, nonatomic, strong) NSNumber *profilesSampleRate DEPRECATED_MSG_ATTRIBUTE(
576-
"This property will be removed in a future version of the SDK. See profileSessionSampleRate.");
573+
@property (nullable, nonatomic, strong) NSNumber *profilesSampleRate;
577574

578575
/**
579576
* @note Profiling is not supported on watchOS or tvOS.
@@ -587,10 +584,7 @@ typedef void (^SentryProfilingConfigurationBlock)(SentryProfileOptions *_Nonnull
587584
* @warning This property is deprecated and will be removed in a future version of the SDK. See
588585
* @c SentryProfileOptions.sessionSampleRate .
589586
*/
590-
@property (nullable, nonatomic)
591-
SentryTracesSamplerCallback profilesSampler NS_SWIFT_SENDABLE DEPRECATED_MSG_ATTRIBUTE(
592-
"This property will be removed in a future version of the SDK. See "
593-
"profileSessionSampleRate.");
587+
@property (nullable, nonatomic) SentryTracesSamplerCallback profilesSampler NS_SWIFT_SENDABLE;
594588

595589
/**
596590
* If profiling should be enabled or not.
@@ -603,8 +597,7 @@ typedef void (^SentryProfilingConfigurationBlock)(SentryProfileOptions *_Nonnull
603597
* @note Profiling is automatically disabled if a thread sanitizer is attached.
604598
* @warning This property is deprecated and will be removed in a future version of the SDK.
605599
*/
606-
@property (nonatomic, assign, readonly) BOOL isProfilingEnabled DEPRECATED_MSG_ATTRIBUTE(
607-
"This property will be removed in a future version of the SDK. See profileLifecycle.");
600+
@property (nonatomic, assign, readonly) BOOL isProfilingEnabled;
608601

609602
/**
610603
* @brief Whether to enable the sampling profiler.

0 commit comments

Comments
 (0)