From 82baa9081189f8fe7bc08736e6dc52bfd1c77291 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 20 Dec 2009 18:04:20 +0000 Subject: [PATCH] Ignore the events we're not interested in. Fixes the Scheduling page. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34727 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../debuganalyzer/gui/main_window/SchedulingPage.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp b/src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp index 91820cc99c..c6e40a7f01 100644 --- a/src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp +++ b/src/apps/debuganalyzer/gui/main_window/SchedulingPage.cpp @@ -1073,11 +1073,6 @@ printf("failed to read event!\n"); size_t size) { switch (event) { - case B_SYSTEM_PROFILER_TEAM_ADDED: - case B_SYSTEM_PROFILER_TEAM_REMOVED: - case B_SYSTEM_PROFILER_TEAM_EXEC: - break; - case B_SYSTEM_PROFILER_THREAD_ADDED: _HandleThreadAdded((system_profiler_thread_added*)buffer); break; @@ -1101,12 +1096,7 @@ printf("failed to read event!\n"); (thread_removed_from_run_queue*)buffer); break; - case B_SYSTEM_PROFILER_WAIT_OBJECT_INFO: - break; - default: -printf("unsupported event type %lu, size: %lu\n", event, size); -return B_BAD_DATA; break; }