diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2024-01-13 15:06:08 -0800 |
|---|---|---|
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2024-01-13 15:06:08 -0800 |
| commit | adb7958f6177dfe5df69bc2202da98c566f389b9 (patch) | |
| tree | d9046633b6c8f3b4d1b091df38ff634867bbcf0c /src/termio/Thread.zig | |
| parent | 29717269cabb2adc97e2e278b545f211bc0376da (diff) | |
remove tracy usage from all files
Diffstat (limited to 'src/termio/Thread.zig')
| -rw-r--r-- | src/termio/Thread.zig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/termio/Thread.zig b/src/termio/Thread.zig index 61b2e3fba..2698f8064 100644 --- a/src/termio/Thread.zig +++ b/src/termio/Thread.zig @@ -7,8 +7,6 @@ const builtin = @import("builtin"); const xev = @import("xev"); const termio = @import("../termio.zig"); const BlockingQueue = @import("../blocking_queue.zig").BlockingQueue; -const tracy = @import("tracy"); -const trace = tracy.trace; const Allocator = std.mem.Allocator; const log = std.log.scoped(.io_thread); @@ -142,7 +140,6 @@ pub fn threadMain(self: *Thread) void { fn threadMain_(self: *Thread) !void { defer log.debug("IO thread exited", .{}); - tracy.setThreadName("pty io"); // Run our thread start/end callbacks. This allows the implementation // to hook into the event loop as needed. @@ -162,9 +159,6 @@ fn threadMain_(self: *Thread) !void { /// Drain the mailbox, handling all the messages in our terminal implementation. fn drainMailbox(self: *Thread) !void { - const zone = trace(@src()); - defer zone.end(); - // This holds the mailbox lock for the duration of the drain. The // expectation is that all our message handlers will be non-blocking // ENOUGH to not mess up throughput on producers. @@ -290,9 +284,6 @@ fn wakeupCallback( return .rearm; }; - const zone = trace(@src()); - defer zone.end(); - const t = self_.?; // When we wake up, we check the mailbox. Mailbox producers should |
