Do not shorten kernel module names.

This commit is contained in:
Bartosz Taudul 2022-08-15 14:50:57 +02:00
parent 47a2512957
commit d91321a774
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -829,6 +829,7 @@ const char* View::GetFrameSetName( const FrameData& fd, const Worker& worker )
const char* View::ShortenZoneName( const char* name, ImVec2& tsz, float zsz ) const const char* View::ShortenZoneName( const char* name, ImVec2& tsz, float zsz ) const
{ {
assert( m_shortenName != ShortenName::Never ); assert( m_shortenName != ShortenName::Never );
if( name[0] == '<' ) return name;
if( m_shortenName == ShortenName::Always ) zsz = 0; if( m_shortenName == ShortenName::Always ) zsz = 0;
static char buf[64*1024]; static char buf[64*1024];