mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
tools: include counter type in dump
This commit is contained in:
@ -322,11 +322,12 @@ main (gint argc,
|
|||||||
|
|
||||||
SET_CTR_TYPE (ctr->id, ctr->type);
|
SET_CTR_TYPE (ctr->id, ctr->type);
|
||||||
|
|
||||||
g_print (" COUNTER(%d): %s\n"
|
g_print (" COUNTER(%03d<%s>): %s\n"
|
||||||
" %s\n"
|
" %s\n"
|
||||||
" %s\n"
|
" %s\n"
|
||||||
"\n",
|
"\n",
|
||||||
ctr->id,
|
ctr->id,
|
||||||
|
ctr->type == SYSPROF_CAPTURE_COUNTER_INT64 ? "i64" : "f64",
|
||||||
ctr->category,
|
ctr->category,
|
||||||
ctr->name,
|
ctr->name,
|
||||||
ctr->description);
|
ctr->description);
|
||||||
|
|||||||
Reference in New Issue
Block a user