* scheduling_recorder also records I/O scheduling events, now.
* DebugAnalyzer ignores those events for the time being. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34706 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7382f82116
commit
83f19b6734
@ -429,6 +429,14 @@ ModelLoader::_ProcessEvent(uint32 event, uint32 cpu, const void* buffer,
|
||||
_HandleWaitObjectInfo((system_profiler_wait_object_info*)buffer);
|
||||
break;
|
||||
|
||||
case B_SYSTEM_PROFILER_IO_SCHEDULER_ADDED:
|
||||
case B_SYSTEM_PROFILER_IO_SCHEDULER_REMOVED:
|
||||
case B_SYSTEM_PROFILER_IO_REQUEST_SCHEDULED:
|
||||
case B_SYSTEM_PROFILER_IO_REQUEST_FINISHED:
|
||||
case B_SYSTEM_PROFILER_IO_OPERATION_STARTED:
|
||||
case B_SYSTEM_PROFILER_IO_OPERATION_FINISHED:
|
||||
break;
|
||||
|
||||
default:
|
||||
printf("unsupported event type %lu, size: %lu\n", event, size);
|
||||
return B_BAD_DATA;
|
||||
|
@ -3,6 +3,7 @@
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <getopt.h>
|
||||
@ -24,9 +25,10 @@
|
||||
|
||||
#define SCHEDULING_RECORDING_AREA_SIZE (4 * 1024 * 1024)
|
||||
|
||||
#define DEBUG_EVENT_MASK (B_SYSTEM_PROFILER_TEAM_EVENTS \
|
||||
| B_SYSTEM_PROFILER_THREAD_EVENTS \
|
||||
| B_SYSTEM_PROFILER_SCHEDULING_EVENTS)
|
||||
#define DEBUG_EVENT_MASK \
|
||||
(B_SYSTEM_PROFILER_TEAM_EVENTS | B_SYSTEM_PROFILER_THREAD_EVENTS \
|
||||
| B_SYSTEM_PROFILER_SCHEDULING_EVENTS \
|
||||
| B_SYSTEM_PROFILER_IO_SCHEDULING_EVENTS)
|
||||
|
||||
|
||||
extern const char* __progname;
|
||||
|
Loading…
Reference in New Issue
Block a user