Skip to content
New issue

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

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

Already on GitHub? # to your account

Rename SystraceSection to TraceSection #48383

Closed
wants to merge 1 commit into from

Conversation

rshest
Copy link
Contributor

@rshest rshest commented Dec 24, 2024

Summary:

Changelog:

[Internal] -

This changes the name of SystraceSection class to TraceSection, the purpose being to make it Systrace/FBSystrace agnostic (and that it can be mapped to e.g. Perfetto instead).

It changes all the internal callsites to the RN code code, and also adds a shim include, <cxxreact/SystraceSection.h, for backward compatibility with the external callers for now (which will be addressed separately).

Differential Revision: D67621914

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Dec 24, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67621914

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67621914

rshest added a commit to rshest/react-native that referenced this pull request Dec 24, 2024
Summary:
Pull Request resolved: facebook#48383

## Changelog:
[Internal] -

This changes the name of `SystraceSection` class to `TraceSection`, the purpose being to make it Systrace/FBSystrace agnostic (and that it can be mapped to e.g. Perfetto instead).

It changes all the internal callsites to the RN code code, and also adds a shim include, `<cxxreact/SystraceSection.h`, for backward compatibility with the external callers for now (which will be addressed separately).

Reviewed By: javache

Differential Revision: D67621914
rshest added a commit to rshest/react-native that referenced this pull request Dec 24, 2024
Summary:
Pull Request resolved: facebook#48383

## Changelog:
[Internal] -

This changes the name of `SystraceSection` class to `TraceSection`, the purpose being to make it Systrace/FBSystrace agnostic (and that it can be mapped to e.g. Perfetto instead).

It changes all the internal callsites to the RN code code, and also adds a shim include, `<cxxreact/SystraceSection.h`, for backward compatibility with the external callers for now (which will be addressed separately).

Reviewed By: javache

Differential Revision: D67621914
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67621914

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67621914

rshest added a commit to rshest/react-native that referenced this pull request Dec 24, 2024
Summary:
Pull Request resolved: facebook#48383

## Changelog:
[Internal] -

This changes the name of `SystraceSection` class to `TraceSection`, the purpose being to make it Systrace/FBSystrace agnostic (and that it can be mapped to e.g. Perfetto instead).

It changes all the internal callsites to the RN code code, and also adds a shim include, `<cxxreact/SystraceSection.h`, for backward compatibility with the external callers for now (which will be addressed separately).

Reviewed By: javache

Differential Revision: D67621914
rshest added a commit to rshest/react-native that referenced this pull request Dec 24, 2024
Summary:
Pull Request resolved: facebook#48383

## Changelog:
[Internal] -

This changes the name of `SystraceSection` class to `TraceSection`, the purpose being to make it Systrace/FBSystrace agnostic (and that it can be mapped to e.g. Perfetto instead).

It changes all the internal callsites to the RN code code, and also adds a shim include, `<cxxreact/SystraceSection.h`, for backward compatibility with the external callers for now (which will be addressed separately).

Reviewed By: javache

Differential Revision: D67621914
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67621914

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67621914

rshest added a commit to rshest/react-native that referenced this pull request Dec 24, 2024
Summary:
Pull Request resolved: facebook#48383

## Changelog:
[Internal] -

This changes the name of `SystraceSection` class to `TraceSection`, the purpose being to make it Systrace/FBSystrace agnostic (and that it can be mapped to e.g. Perfetto instead).

It changes all the internal callsites to the RN code code, and also adds a shim include, `<cxxreact/SystraceSection.h`, for backward compatibility with the external callers for now (which will be addressed separately).

Reviewed By: javache

Differential Revision: D67621914
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67621914

rshest added a commit to rshest/react-native that referenced this pull request Dec 24, 2024
Summary:
Pull Request resolved: facebook#48383

## Changelog:
[Internal] -

This changes the name of `SystraceSection` class to `TraceSection`, the purpose being to make it Systrace/FBSystrace agnostic (and that it can be mapped to e.g. Perfetto instead).

It changes all the internal callsites to the RN code code, and also adds a shim include, `<cxxreact/SystraceSection.h`, for backward compatibility with the external callers for now (which will be addressed separately).

Reviewed By: javache

Differential Revision: D67621914
Summary:
Pull Request resolved: facebook#48383

## Changelog:
[Internal] -

This changes the name of `SystraceSection` class to `TraceSection`, the purpose being to make it Systrace/FBSystrace agnostic (and that it can be mapped to e.g. Perfetto instead).

It changes all the internal callsites to the RN code code, and also adds a shim include, `<cxxreact/SystraceSection.h`, for backward compatibility with the external callers for now (which will be addressed separately).

Reviewed By: javache

Differential Revision: D67621914
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67621914

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 25, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in fcf3c8c.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @rshest in fcf3c8c

When will my fix make it into a release? | How to file a pick request?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants