forked from cory/tildefriends
This made 32-bit happier.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4476 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
450cf6424e
commit
7e27cefe6a
@ -341,7 +341,7 @@ char* tf_trace_export(tf_trace_t* trace)
|
|||||||
size += snprintf(buffer + size, k_buffer_size - size,
|
size += snprintf(buffer + size, k_buffer_size - size,
|
||||||
"{\"ph\":\"M\",\"pid\":%d,\"tid\":\"0x%" PRIx64 "\",\"name\":\"thread_name\",\"args\":{\"name\":\"%s\"}},\n",
|
"{\"ph\":\"M\",\"pid\":%d,\"tid\":\"0x%" PRIx64 "\",\"name\":\"thread_name\",\"args\":{\"name\":\"%s\"}},\n",
|
||||||
getpid(),
|
getpid(),
|
||||||
thread->id,
|
(uint64_t)thread->id,
|
||||||
thread->name);
|
thread->name);
|
||||||
}
|
}
|
||||||
uv_rwlock_rdunlock(&trace->threads_lock);
|
uv_rwlock_rdunlock(&trace->threads_lock);
|
||||||
|
Loading…
Reference in New Issue
Block a user