The "traced" command can now be passed a filter expression consisting of

boolean operators ("not", "and", "or") and filters matching thread IDs
or contained strings.
I'm still not fully happy with the command. It should be possible to
define a filter and then comfortably scroll through the matching
entries. Currently having to specify an index range of the unfiltered
entries is rather unhandy in combination with filtering.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23658 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-01-20 00:34:37 +00:00
parent c59c68c5e0
commit 4c4b14c3bb
2 changed files with 269 additions and 19 deletions
+4
View File
@@ -27,6 +27,10 @@ class TraceOutput {
void Print(const char* format,...);
bool IsFull() const { return fSize >= fCapacity; }
char* Buffer() const { return fBuffer; }
size_t Capacity() const { return fCapacity; }
size_t Size() const { return fSize; }
private:
char* fBuffer;
size_t fCapacity;