diff --git a/src/apps/debuganalyzer/Model.h b/src/apps/debuganalyzer/Model.h index 45d85ad476..aa806ea0c7 100644 --- a/src/apps/debuganalyzer/Model.h +++ b/src/apps/debuganalyzer/Model.h @@ -88,6 +88,7 @@ public: ~Thread(); inline thread_id ID() const; + inline const char* Name() const; inline void SetDeletionTime(bigtime_t time); @@ -144,6 +145,13 @@ Model::Thread::ID() const } +const char* +Model::Thread::Name() const +{ + return fCreationEvent->name; +} + + void Model::Thread::SetDeletionTime(bigtime_t time) {