Changeset fb6f1a5 in mainline for uspace/app/trace/trace.c
- Timestamp:
- 2010-01-27T21:44:52Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ccafee
- Parents:
- b79d450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/trace.c
rb79d450 rfb6f1a5 198 198 printf("Threads:"); 199 199 for (i = 0; i < n_threads; i++) { 200 printf(" [%d] (hash 0x%lx)", 1+i, thread_hash_buf[i]);200 printf(" [%d] (hash %p)", 1+i, thread_hash_buf[i]); 201 201 } 202 202 printf("\ntotal of %u threads\n", tb_needed / sizeof(uintptr_t)); … … 222 222 case V_HASH: 223 223 case V_PTR: 224 printf(" 0x%08lx", val);224 printf("%p", val); 225 225 break; 226 226 … … 508 508 } 509 509 510 printf("Start tracing thread [%d] (hash 0x%lx).\n", thread_id, thread_hash);510 printf("Start tracing thread [%d] (hash %p).\n", thread_id, thread_hash); 511 511 512 512 while (!abort_trace) { … … 552 552 break; 553 553 case UDEBUG_EVENT_THREAD_E: 554 printf("Thread 0x%lxexited.\n", val0);554 printf("Thread %p exited.\n", val0); 555 555 fibril_mutex_lock(&state_lock); 556 556 abort_trace = true;
Note:
See TracChangeset
for help on using the changeset viewer.