Bug 491253 - valgrind --tool=callgrind " Unknown option: --leak-check=full"
Summary: valgrind --tool=callgrind " Unknown option: --leak-check=full"
Status: RESOLVED NOT A BUG
Alias: None
Product: valgrind
Classification: Developer tools
Component: callgrind (show other bugs)
Version: 3.20.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Josef Weidendorfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-04 12:00 UTC by Rick Stanley
Modified: 2024-08-07 22:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Stanley 2024-08-04 12:00:03 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Running valgrind with:
"valgrind --tool=callgrind ./prog"

Reports:
"Unknown option: --leak-check=full"
" Use --help for more information or consult the user manual."

No output from running the program, using the command above.  Valgrind by itself runs correctly.

STEPS TO REPRODUCE
1. Run the command as above
2. 
3. 

OBSERVED RESULT
As shown above

EXPECTED RESULT
Proper output from the callgrind tool.  I have never run this command before.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:  Not reported by 'kinfo'
KDE Plasma Version: 5.27.11 
KDE Frameworks Version:  5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
None
Comment 1 Mark Wielaard 2024-08-05 20:45:21 UTC
This is odd. It is almost as if valgrind is aliased to valgrind --leak-check=full.
Could you do: type valgrind
And: valgrind -v --tool=callgrind /bin/true
Comment 2 Rick Stanley 2024-08-06 20:44:37 UTC
Please close this report.  I had an alias set that I was not aware of.

My apologies.