Skip to content

Commit

Permalink
gprof: do not use placeholder for a.out
Browse files Browse the repository at this point in the history
Co-authored-by: Juri Dispan <[email protected]>
  • Loading branch information
jxu and gutjuri authored Jan 19, 2025
1 parent f49aff0 commit b343f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/common/gprof.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Compile binary to default `a.out` with gprof information and run it to get `gmon.out`:

`gcc -pg {{program.c}} && {{./a.out}}`
`gcc -pg {{program.c}} && ./a.out`

- Run gprof on default `a.out` and `gmon.out` to obtain profile output:

Expand Down

0 comments on commit b343f7e

Please sign in to comment.