mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Do not shorten kernel module names.
This commit is contained in:
parent
47a2512957
commit
d91321a774
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user