mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 07:00:53 +00:00
examples: Drop sysprof_clock_init() call from example
It’s implicitly called when setting up the `SysprofCaptureWriter`. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@ -23,8 +23,6 @@ main (int argc,
|
|||||||
{
|
{
|
||||||
SysprofCaptureWriter *writer;
|
SysprofCaptureWriter *writer;
|
||||||
|
|
||||||
sysprof_clock_init ();
|
|
||||||
|
|
||||||
/* Ignore SIGPIPE because we might get a pipe from the environment and we
|
/* Ignore SIGPIPE because we might get a pipe from the environment and we
|
||||||
* don't want to trap if write() is used on it.
|
* don't want to trap if write() is used on it.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user