1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Commit Graph

60 Commits

Author SHA1 Message Date
Bartosz Taudul b10c83f358 Use lld linker, if available. 2022-04-27 02:17:16 +02:00
Bartosz Taudul 2dd61aba49 Makefiles can now build clangd database.
Executing the "make db" will run the build process of the selected tool or
library through the bear wrapper (which has to be available in the system),
which will record the compilation parameters of each source file. This
database can be then used by VS Code to set the proper defines and find all
the required includes.

Note that database building is performed in context of the specific tool or
library. Not all tools have the same set of flags.
2022-04-23 23:46:55 +02:00
Bartosz Taudul 8532c2d1e0 Expose source file scan in update utility. 2022-03-30 16:08:20 +02:00
Bartosz Taudul 8c45ed33fd Bump zstd to 1.5.1. 2021-12-21 12:22:42 +01:00
Bartosz Taudul aed1360a9c Update to MSVC 2022. 2021-11-13 00:49:26 +01:00
Bartosz Taudul 07bc665d8c Drop support for Cygwin. 2021-10-07 23:28:40 +02:00
Bartosz Taudul 74d0e79b8c Vcpkg changed everything again. 2021-09-21 02:09:54 +02:00
Bartosz Taudul f8ccd8c40d Move TracyStackFrames to common. 2021-05-23 23:51:56 +02:00
Bartosz Taudul 3d75bf653a Add interface for frame images dict building. 2021-05-15 15:50:20 +02:00
Bartosz Taudul 859b8e4193 Add zstd dict builder. 2021-05-15 14:56:38 +02:00
Bartosz Taudul cb0bc67790 Bump zstd to 1.5.0. 2021-05-15 00:48:15 +02:00
Bartosz Taudul 9a5d3b729d Fix vcpkg. 2021-02-25 18:40:27 +01:00
Bartosz Taudul 57ca6112b8 Enable Link Time Optimization on unix. 2021-01-26 22:43:50 +01:00
Bartosz Taudul c08d591bf3 Use proper capstone include path. 2021-01-26 20:35:57 +01:00
Bartosz Taudul b0fe29e12f Remove all lingering references to 32-bit win32 builds. 2021-01-26 20:27:19 +01:00
Bartosz Taudul 046638a2b7 Update all sln files to MSVC 2019. 2021-01-26 20:24:47 +01:00
Bartosz Taudul c8ea47782c ARM clang doesn't support -march=native. 2021-01-26 19:46:39 +01:00
Bartosz Taudul 62d6f4127d Don't pass -s parameter to clang. 2021-01-26 19:39:24 +01:00
Bartosz Taudul 4394d396f5 Build release target by default. 2020-10-03 13:45:11 +02:00
Jim Blandy 7bc8c6283a Factor out Unix build logic into shared files. 2020-07-31 11:08:36 -07:00
Jim Blandy 652582b119 Factor out makefile TBB detection, apply to all tools. 2020-07-31 09:14:12 -07:00
Bartosz Taudul cc63b6492f Allow stripping data from captures. 2020-07-17 22:06:15 +02:00
Bartosz Taudul 08c70cd6fe Use getopt in the update utility. 2020-07-17 21:47:51 +02:00
Simonas Kazlauskas b03da81afa Fix build on macos
It was broken by a110b42011.

In addition, adjust the CI definition to test builds on macOS.
2020-06-20 20:44:55 +03:00
Bartosz Taudul 25c7245566 Revert "Use pkg-config to link with TBB, but silence errors."
This reverts commit b4d6833231.

pkg-config setup for TBB is debian-specific.
2020-06-19 20:07:06 +02:00
Bartosz Taudul b4d6833231 Use pkg-config to link with TBB, but silence errors. 2020-06-19 02:17:10 +02:00
Bartosz Taudul 884de148c9 Target native architecture. 2020-05-13 18:35:56 +02:00
David Farrell 80fdf7517a Use debug vcpkg libraries 2020-04-21 15:17:11 -07:00
David Farrell a4a20ddc42 Updated Visual Studio project files to use vcpkg directory for dependencies
This modifies all of the include and lib paths to point to vcpkg/vcpkg/installed/x64-windows-static/include and lib.

With these changes, all executables in Tracy build out of the box in all configurations (assuming you have run the install_vcpkg_depencies.bat script first).

Perhaps it would be better to use a single Visual Studio .props file that all of the .vcxproj files point to so that the include and lib paths are set in a single place, but for now the paths are set separately in each .vcxproj.
2020-04-21 10:59:08 -07:00
Bartosz Taudul fd027c65e7 Remove -fomit-frame-pointer. 2020-04-12 21:55:47 +02:00
Bartosz Taudul 430aa5564d Add missing vcpkg triplets. 2020-04-02 12:35:42 +02:00
Bartosz Taudul b2a8b53efa Query source location of each assembly instruction. 2020-04-01 21:43:03 +02:00
Bartosz Taudul 59e859e59a Remove benaphore, use std::mutex on cygwin. 2020-03-19 02:06:54 +01:00
Bartosz Taudul aa0bf47ec3 Extract texture compression functionality. 2020-03-02 02:00:35 +01:00
Bartosz Taudul 1492536bdb Handle FileReadError. 2020-02-12 19:53:37 +01:00
Bartosz Taudul cc805b7b74 Add mmap() wrapper. 2020-02-12 19:24:30 +01:00
Bartosz Taudul 28d749982a Fix typo. 2020-02-08 20:03:38 +01:00
Bartosz Taudul 817e052457 Expose zstd in update utility. 2020-02-08 16:14:43 +01:00
Bartosz Taudul 64cfad317d Add zstd to project files. 2020-02-08 15:42:08 +01:00
Bartosz Taudul 642fd1e8da Display update utility elapsed time. 2020-02-08 13:35:36 +01:00
Bartosz Taudul 4c7f698946 Display compression ratio in update utility. 2020-02-08 13:18:42 +01:00
Bartosz Taudul 022528bb47 Use Martin Ankerl's robin hood unordered map.
ska::flat_hash_map has bugs and its development is dead.
2020-01-28 21:49:36 +01:00
Bartosz Taudul 8d7299fe1f Get 64-bit file size. 2019-11-02 22:11:40 +01:00
Bartosz Taudul 599fa17e4f Expose extreme compression level in update utility. 2019-09-29 21:03:08 +02:00
Bartosz Taudul 2470936050 Don't perform background tasks during trace upgrade. 2019-09-29 20:52:25 +02:00
Bartosz Taudul 947eb56f3d Add loading/saving messages to update utility. 2019-09-29 20:48:18 +02:00
Bartosz Taudul 6f5a23a198 Add task dispatcher to server. 2019-09-20 22:58:12 +02:00
Bartosz Taudul 21e7a4bb16 Extract thread compression into a separate class. 2019-08-19 22:56:58 +02:00
Bartosz Taudul 154c902e03 Handle legacy file versions. 2019-08-12 12:36:37 +02:00
Bartosz Taudul 3e74d041c9 Link with Thread Building Blocks, if available. 2019-07-28 01:53:39 +02:00