(dump-profile finished)(dump-profile)
 Dump profile and stop profiler. Use this to save profile
in advance in case your program cannot exit normally.


(profiler-set-config kwargs)
 Set up the configure of profiler.
-mode, optional Indicting whether to enable the profiler, can
 be symbolic or all. Default is symbolic.
-fileName, optional The name of output trace file. Default is profile.json.


(profiler-set-state state)(profiler-set-state)
Set up the profiler state to record operator.
-state, optional
- Indicting whether to run the profiler, can
  be stop or run. Default is stop.