Bug 256518 - benchmarks/flamegraph: installs files that have no use on FreeBSD
Summary: benchmarks/flamegraph: installs files that have no use on FreeBSD
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Johannes M Dieterich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-09 22:44 UTC by Alan Somers
Modified: 2021-12-01 18:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (jmd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer freebsd_triage 2021-06-09 22:44:55 UTC
Brendan Gregg's flamegraph is awesome.  But our port installs some files that can never be used, and only server to clutter up PATH.  Such files include:

Only work in AIX
/usr/local/bin/aix-perf.pl
/usr/local/bin/stackcollapse-aix.pl

Only work on Linux, I think, but I'm not 100% positive
/usr/local/bin/pkgsplit-perf.pl
/usr/local/bin/range-perf.pl
/usr/local/bin/stackcollapse-perf.pl

Only works on Apple
/usr/local/bin/stackcollapse-instruments.pl

Only works on Linux
/usr/local/bin/stackcollapse-stap.pl
Comment 1 Johannes M Dieterich freebsd_committer freebsd_triage 2021-12-01 17:49:31 UTC
Sorry for the late reply. I just updated the port to the latest revision.

I understand your point and it is valid. However, I added all options on purpose for the purpose of processing data from other OSs on a FreeBSD box and have used it myself for this purpose (Linux data). Does that make sense or would you still want the AIX/Linux/Mac OS files to be projected out?
Comment 2 Alan Somers freebsd_committer freebsd_triage 2021-12-01 18:01:16 UTC
Oh, I didn't know people were doing that.  I guess it makes sense then.