| 1 | = Inspector Brief Tutorial = |
| 2 | {{{#!bash |
| 3 | [fuji@cypress01-089 ~]$ module load intel-psxe/2015-update1 |
| 4 | [fuji@cypress01-089 Valgrind]$ icc -g uninit.c |
| 5 | [fuji@cypress01-089 Valgrind]$ inspxe-cl -collect=mi2 -app-working-dir=$PWD -result-dir=$PWD/results $PWD/a.out |
| 6 | p[0] < 1 |
| 7 | |
| 8 | 1 new problem(s) found |
| 9 | 1 Memory leak problem(s) detected |
| 10 | [fuji@cypress01-089 Valgrind]$ inspxe-cl -R problems -r $PWD/results |
| 11 | P1: Error: Memory leak: New |
| 12 | P1.3: Error: Memory leak: 80 Bytes: New |
| 13 | /home/fuji/svn/workshop/Valgrind/uninit.c(5): Error X3: Allocation site: Function main: Module /home/fuji/svn/workshop/Valgrind/a.out |
| 14 | }}} |