summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/perfetto
Commit message (Collapse)AuthorAgeFilesLines
* perfetto: Fix build on musl againKhem Raj2023-02-061-7/+3
| | | | | | | Update to 0.31 broke build on musl. New dependencies mean additional fixes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perfetto: Add missing dependencies.Khem Raj2023-02-051-4/+18
| | | | | | | | | Latest release 0.31 needs some more bits during build. Add them at right SHA checkouts, from tools/install-build-deps Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perfetto: Fix build with gcc13Khem Raj2023-02-012-1/+60
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perfetto: Upgrade to 31.0 releaseKhem Raj2023-02-012-17/+12
| | | | | | Forward port pc file patch to 0.31 release Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perfetto: Disable ccacheKhem Raj2023-01-291-0/+2
| | | | | | It does not build with ccache for some reason, loses the compiler name Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perfetto: Do not pass TUNE_CCARGS to native/host compilerKhem Raj2022-12-081-4/+4
| | | | | | | | TUNE_CCARGS are meant to be passed to target compilers only. This fixes build failures seen on qemux6 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Markus Volk <f_l_k@t-online.de>
* perfetto: pass TUNE_CCARGS to use machine tuneMarkus Volk2022-12-051-18/+7
| | | | | | | | | | | | | | | | We already tried to pass -mfloat-abi=hard if the machine can use it, but since no floating-point-unit was defined it got stubbed out and the result was, that only arm targets configured for softfp were able to build perfetto. Simplify by passing ${TUNE_CCARGS} to ensure, we always use the features, the machine was configured for. Also, do not use sed to remove the hardcoded -mfpu=neon entry. If this really turns out to be problematic, we need to patch it out to avoid not having a floating-point-unit again. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perfetto: build libperfettoMarkus Volk2022-10-184-3/+78
| | | | | | | | | | | | | | - Mesa has support for perfetto, but the libperfetto library is needed - Only v27 seems to be supported for now. Update perfetto accordingly - Make sure perfetto and libperfetto share the same codebase - Patch meson.build to allow shared build - Add a version number to avoid having a non symlink so file packaged into dev package - Create a PC file for libperfetto to allow mesa to find it using pkgconfig - Install needed header file - Add -latomic to LDFLAGS for some arch where the compiler doesn't provide it Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add recipe for PerfettoSui Chen2022-10-182-0/+222
Perfetto (https://perfetto.dev/) is a system profiling, app tracing and trace analysis framework. We started using Perfetto for studying a few performance-related problems for OpenBMC-based systems (both the BMC and the host) and we feel it would be good if Perfetto is included into OpenEmbedded, since embedded systems are usually expected to have predictable performance characteristics, and having a good set of performance analysis tools would make this work easier. Tested: bitbake compile, devtool extract and override Signed-off-by: Sui Chen <suichen6@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>