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

5323 Commits

Author SHA1 Message Date
Benoit Jacob
e719e7fd58 Merge branch 'sampling-take-2' of /usr/local/google/home/benoitjacob/iree/third_party/tracy into sampling 2020-11-16 15:56:58 -05:00
Benoit Jacob
f80c2beb3f make it work 2020-11-16 15:56:35 -05:00
Benoit Jacob
e7a110eb76 Restart from scratch! 2020-11-16 15:55:22 -05:00
Benoit Jacob
0fdcdd0ef9 simplify an if by omitting the redundant __ANDROID__ condition 2020-11-13 21:47:12 -05:00
Benoit Jacob
c30b9e0ecd restore some mistakenly removed code populating missing names as '???' 2020-11-12 22:06:47 -05:00
Benoit Jacob
662d3c1ed5 some touch-ups 2020-11-12 21:05:24 -05:00
Benoit Jacob
89b184311d polish error messages (not in Polish though) 2020-11-12 16:17:55 -05:00
Benoit Jacob
e2c1af9d5a be graceful if CLOCK_MONOTONIC_RAW is not defined. 2020-11-12 14:19:07 -05:00
Benoit Jacob
de9b7acfcd Make it work on non-android Linux. 2020-11-12 14:12:08 -05:00
Benoit Jacob
577b8712a3 add comments 2020-11-12 11:18:18 -05:00
Benoit Jacob
bd147e2dee logging simplification 2020-11-12 11:18:18 -05:00
Benoit Jacob
f1a0e97bee make it work 2020-11-12 11:18:18 -05:00
Benoit Jacob
bc49763888 start reintroducing support for profiling a non-root process. 2020-11-12 11:18:18 -05:00
Benoit Jacob
c2add4bc14 Simplify calling TraceWrite and consistently check its return value. 2020-11-12 11:18:18 -05:00
Benoit Jacob
a9c391b9e3 Remove the 'payload' stuff now that we're just doing IO.
This unifies the android and other-linux code paths.

The rationale for just doing IO now is as in the previous commit:
we need the whole process to be run as root, so we don't need to
isolate this particular IO in a separate `su -c` command anymore.
2020-11-12 11:18:18 -05:00
Benoit Jacob
ff6537abff Make sampling work on current Android (no su -c).
The `su -c` approach does not work on current Android. It seems that
on current Android, access to /proc and /sys is restricted enough
that in practice, developers profiling on Android are likely running
the whole instrumented process as root anyway, so `su` shouldn't be
needed. (In particular, note that access to /proc/$pid is limited
to members of a `readproc` group).
2020-11-12 11:18:18 -05:00
Bartosz Taudul
d7059eca63 Prepare for Zen 3.
0xA20F10 is Vermeer.
2020-11-07 00:26:45 +01:00
Bartosz Taudul
30b4eafa22 Add Zen 2 CPU ids.
0x860F81 is Lucienne.
0x890F00 is VanGogh.
2020-11-07 00:26:00 +01:00
Bartosz Taudul
b36e821cc7 Add cascade lake CPU ids. 2020-11-07 00:20:55 +01:00
Bartosz Taudul
612902f20d Update NEWS. 2020-11-07 00:16:39 +01:00
Bartosz Taudul
02c90db2e4 Display op description, if available. 2020-11-07 00:16:10 +01:00
Bartosz Taudul
322cc3bf12 Add missing op description list definition. 2020-11-07 00:15:58 +01:00
Bartosz Taudul
a5fd6662be Add CLX to list of uarchs. 2020-11-07 00:07:20 +01:00
Bartosz Taudul
c08d081f9a Update uops.info data to 05.11.2020. 2020-11-06 23:59:57 +01:00
Bartosz Taudul
da036bf322 Save asm op description. 2020-11-06 23:56:26 +01:00
Bartosz Taudul
c9352ce228 Check for more throughput values. 2020-11-06 23:43:47 +01:00
Bartosz Taudul
fcc0e22c0e Use more recent setup-msbuild action. 2020-11-06 01:29:35 +01:00
Bartosz Taudul
e5967bdc52 Fix context switch + samples offset logic. 2020-11-06 00:20:26 +01:00
Bartosz Taudul
c9f3898c1b Update NEWS. 2020-11-06 00:01:26 +01:00
Bartosz Taudul
e920b5cf64 Allow disabling call stack sampling.
Only on Windows for now.
2020-11-05 23:59:52 +01:00
Bartosz Taudul
4caaa325c2 Allow disabling context switch tracing.
Currently only on Windows.
2020-11-05 23:56:19 +01:00
Bartosz Taudul
a34abe646c Allow disabling vsync capture. 2020-11-05 23:44:28 +01:00
Bartosz Taudul
a48d540854 Cache statistics range-limited data. 2020-11-01 16:24:08 +01:00
Bartosz Taudul
87c3796e84 Fix division by zero if no sampling data is present. 2020-11-01 14:45:26 +01:00
Bartosz Taudul
76e2ae484b Update manual. 2020-10-30 18:30:38 +01:00
Bartosz Taudul
282dd94b6e Update NEWS. 2020-10-30 18:28:39 +01:00
Bartosz Taudul
7791654896 Allow copying callstack to clipboard. 2020-10-30 18:27:52 +01:00
Bartosz Taudul
8b4e03486d Remove trailing whitespace. 2020-10-29 23:06:28 +01:00
Bartosz Taudul
e2515c6a99 Remove pre-C++11 compat macros from concurrentqueue. 2020-10-29 23:05:24 +01:00
Bartosz Taudul
0c48956410 Fix parsing of source files that do not end in newline. 2020-10-28 21:43:03 +01:00
Bartosz Taudul
651cfd5c21 Now apple has to be stupid.
Remove this when they get their shit together with parallel execution.
2020-10-28 21:16:26 +01:00
Bartosz Taudul
dec59e16d2 Cosmetics. 2020-10-28 20:58:38 +01:00
Bartosz Taudul
86a57eee87 Update manual. 2020-10-28 20:54:18 +01:00
Bartosz Taudul
2da30a572b Update NEWS. 2020-10-28 20:06:17 +01:00
Bartosz Taudul
3d2ff4ffd1 Add support for user-provided dbghelp locks. 2020-10-28 20:04:37 +01:00
Bartosz Taudul
7e18540f9c Use proper tracy alloc wrappers in libbacktrace. 2020-10-22 22:26:55 +02:00
Bartosz Taudul
01e5c289b7 Add tracy_realloc() function. 2020-10-22 22:24:32 +02:00
Bartosz Taudul
4369224394 Update manual. 2020-10-21 23:25:05 +02:00
Bartosz Taudul
3976408550 Adapt to non-obsolete ImGuiListClipper interface. 2020-10-18 22:51:59 +02:00
Bartosz Taudul
b2c214595a Bump ImGui to 1.79 + docking. 2020-10-18 22:51:56 +02:00