Skip to content

[3.0] Update perf #38

Open
rlmenge wants to merge 2 commits into3.0-devfrom
rlmenge/3.0/update-perf-package
Open

[3.0] Update perf #38
rlmenge wants to merge 2 commits into3.0-devfrom
rlmenge/3.0/update-perf-package

Conversation

@rlmenge
Copy link
Copy Markdown
Owner

@rlmenge rlmenge commented Jun 28, 2024

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
  • Ready to merge

Summary

Both 2.0 and 3.0 show perf report: Cannot load tips.txt, please install perf! https://bugzilla.redhat.com/show_bug.cgi?id=1448402&quot

Associated issues

https://microsoft.visualstudio.com/OS/_workitems/edit/50759350

Test Methodology

@rlmenge rlmenge changed the title Rlmenge/3.0/update perf package [3.0] Update perf package Jun 28, 2024
@rlmenge rlmenge changed the title [3.0] Update perf package [3.0] Update perf Jun 29, 2024
Comment thread SPECS/kernel/kernel.spec

# Compile perf, python3-perf
make -C tools/perf PYTHON=%{python3} all
make -C tools/perf V=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 LIBBPF_DYNAMIC=1 LIBTRACEEVENT_DYNAMIC=1 PYTHON=%{python3} all
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

NO_PERF_READ_VDSO32 and NO_PERF_READ_VDSOX32 : disable VDSO (Virtual Dynamically-linked Shared Object) for 32-bit and x32-bit
NO_LIBUNWIND : no libunwind present
HAVE_CPLUS_DEMANGLE : Indicates that the build should include support for C++ symbol demangling.
NO_GTK2 : disables GTK2 support
NO_STRLCPY : Disables the inclusion of strlcpy function
NO_BIONIC : Disables Bionic library
LIBBPF_DYNAMIC ans LIBTRACEEVENT_DYNAMIC : Enable dynamic linking for libbpf and libtraceevent libraries respectively.

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.

1 participant