File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,16 @@ Frequently Asked Questions
77 If the symbol has been exported in the shared object (on linux), ``dladdr `` might still be able to extract
88 the function name even if no debugging information has been attached.
99
10- * **Is it possible to just profile a short part of my profile ? **: Yes here an example how you could do just that:
10+ * **Is it possible to just profile a part of my program ? **: Yes here an example how you could do just that: :
1111
12- ```
13- with open('test.prof', 'w+b') as fd:
12+ with open('test.prof', 'w+b') as fd:
1413 vmprof.enable(fd.fileno())
1514 my_function_or_program()
1615 vmprof.disable()
1716
18- ` ``
17+ Upload it later to vmprof.com if you choose to inspect it further::
1918
20- And upload it later when your program finishes.
21-
22- $ python -m vmprof.upload test.prof
19+ $ python -m vmprof.upload test.prof
2320
2421
2522
You can’t perform that action at this time.
0 commit comments