summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/perfetto
Commit message (Collapse)AuthorAgeFilesLines
* perfetto: Do not pass TUNE_CCARGS to native/host compilerKhem Raj2023-01-231-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> (cherry picked from commit 90ea68fc11181a62741e4ca79dfef0fefe48cb41) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perfetto: pass TUNE_CCARGS to use machine tuneMarkus Volk2023-01-231-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> (cherry picked from commit c23bde86d0bcba3acc677bc4cd3240a8b3116921) [Fixes build failure] Signed-off-by: Armin Kuster <akuster808@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>