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

Remove references to the incubator callstack #18

Merged
merged 11 commits into from
Apr 12, 2024

Conversation

arfio
Copy link
Contributor

@arfio arfio commented Apr 4, 2024

This PR is intended to resolve the issue #12

Some classes were not moved to profiling.core so this patch is dependent on eclipse-tracecompass/org.eclipse.tracecompass#51

This fixes the following projects:

  • org.eclipse.tracecompass.incubator.traceevent.core
  • org.eclipse.tracecompass.incubator.traceevent.core.tests
  • org.eclipse.tracecompass.incubator.inandout.core
  • org.eclipse.tracecompass.incubator.kernel.core
  • org.eclipse.tracecompass.incubator.tracecompass.core
  • org.eclipse.tracecompass.incubator.uftrace.core
  • org.eclipse.tracecompass.incubator.virtual.machine.analysis.core
  • org.eclipse.tracecompass.incubator.virtual.machine.analysis.core.tests
  • org.eclipse.tracecompass.incubator.kernel.ui
  • org.eclipse.tracecompass.incubator.tracecompass.core
  • org.eclipse.tracecompass.incubator.trace.server.product
  • org.eclipse.tracecompass.incubator.perf.profiling.core
  • org.eclipse.tracecompass.incubator.perf.profiling.core.tests
  • org.eclipse.tracecompass.incubator.otf2.core
  • org.eclipse.tracecompass.incubator.scripting.core
  • org.eclipse.tracecompass.incubator.scripting.ui

[Fixes] remove incubator callstack dependencies

@arfio arfio changed the title Replacing callstack Remove references to the incubator callstack Apr 4, 2024
Copy link
Contributor

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

I noticed that the ROCM plugins still depend on the incubator callstack. Additionally, the trace server also includes the incubator.core plug-in. Both should be addressed as well.

Could you please update that or let me know if have a different plan for those?

Thanks
Bernd

@bhufmann
Copy link
Contributor

Trace Compass baseline build is available and this PR doesn't have any compilation errors anymore. However, there are some test errors which need to be addressed as well:

https://github.com/eclipse-tracecompass-incubator/org.eclipse.tracecompass.incubator/actions/runs/8559375092/job/23678280523?pr=18#step:5:14103

@arfio arfio force-pushed the replacing-callstack branch 2 times, most recently from 794a1c0 to 96d2018 Compare April 10, 2024 20:59
@arfio
Copy link
Contributor Author

arfio commented Apr 10, 2024

The ROCm plugin will be updated separately, the incubator callstack and the ROCm plugin were removed from the trace server. The incubator analysis was kept because the trace event plugin is dependent on the aspects.
The tests errors were corrected.

Copy link
Contributor

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

I'm ok to handle ROCm in a separated PR.

I noticed that the feature.xml files still have the dependencies to the incubator callstack plug-ins listed. I think they should be removed as will as part of the PR.

While checking the feature.xml files. I noticed that the XML defined call stack have not been migrate to mainline (package: . org.eclipse.tracecompass.incubator.internal.callstack.core.xml.callstack). The plug-in org.eclipse.tracecompass.incubator.tracecompass.core defines a build-in xml analysis (GroupedTasks.xml) and org.eclipse.tracecompass.incubator.traceevent.core defines another one (GroupedTasksTraceEvent.xml). These 2 corresponding features.xml cannot have the incubator callstack dependencies removed just yet.

So, I suggest to handle the xml analysis in a separate PR because it needs to be migrated first to mainline Trace Compass. However, please update this PR to update all relevant feature.xml files. WDYT?

@arfio
Copy link
Contributor Author

arfio commented Apr 11, 2024

Good catch, I agree with you. Do you think the xml analysis should be added to org.eclipse.tracecompass.analysis.profiling.core or org.eclipse.tracecompass.tmf.analysis.xml.core ? I personally think xml would be better.

@bhufmann
Copy link
Contributor

Good catch, I agree with you. Do you think the xml analysis should be added to org.eclipse.tracecompass.analysis.profiling.core or org.eclipse.tracecompass.tmf.analysis.xml.core ? I personally think xml would be better.

I think it should be part of org.eclipse.tracecompass.tmf.analysis.xml.core with the rest of the xml analysis code.

@arfio arfio force-pushed the replacing-callstack branch from 96d2018 to 1f704eb Compare April 11, 2024 23:40
Copy link
Contributor

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks!

@arfio arfio merged commit ddb25ba into eclipse-tracecompass-incubator:master Apr 12, 2024
2 checks passed
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.

2 participants