mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-profile: remove debug code
This commit is contained in:
@ -223,8 +223,6 @@ sysprof_cpu_usage_record_fiber (gpointer user_data)
|
|||||||
gsize line_len;
|
gsize line_len;
|
||||||
char *line;
|
char *line;
|
||||||
|
|
||||||
g_print ("parsing\n");
|
|
||||||
|
|
||||||
/* First collect all our reads and then wait for them to finish before
|
/* First collect all our reads and then wait for them to finish before
|
||||||
* parsing in a pass. With io_uring, this lets us coalesce all the lseek
|
* parsing in a pass. With io_uring, this lets us coalesce all the lseek
|
||||||
* and reads into a single set of iops.
|
* and reads into a single set of iops.
|
||||||
@ -243,8 +241,6 @@ sysprof_cpu_usage_record_fiber (gpointer user_data)
|
|||||||
NULL))
|
NULL))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
g_print ("Waiting for completions\n");
|
|
||||||
|
|
||||||
/* Now parse all the contents of the stat files which should be
|
/* Now parse all the contents of the stat files which should be
|
||||||
* populated in the various files.
|
* populated in the various files.
|
||||||
*/
|
*/
|
||||||
@ -351,8 +347,6 @@ sysprof_cpu_usage_record_fiber (gpointer user_data)
|
|||||||
values,
|
values,
|
||||||
n_cpu * 2 + 1);
|
n_cpu * 2 + 1);
|
||||||
|
|
||||||
g_print ("adding counters\n");
|
|
||||||
|
|
||||||
/* Wait for cancellation or ½ second */
|
/* Wait for cancellation or ½ second */
|
||||||
dex_await (dex_future_first (dex_ref (record->cancellable),
|
dex_await (dex_future_first (dex_ref (record->cancellable),
|
||||||
dex_timeout_new_usec (G_USEC_PER_SEC / 2),
|
dex_timeout_new_usec (G_USEC_PER_SEC / 2),
|
||||||
|
|||||||
Reference in New Issue
Block a user