Bug 206829 - cddl/contrib/dtracetoolkit/hotkernel has '/usr/bin/perl' as its interpreter
Summary: cddl/contrib/dtracetoolkit/hotkernel has '/usr/bin/perl' as its interpreter
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.2-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2016-02-01 21:42 UTC by Athanasios Douitsis
Modified: 2020-09-10 12:38 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Athanasios Douitsis 2016-02-01 21:42:51 UTC
The /usr/share/dtrace/toolkit/hotcpu script has '/usr/bin/perl' as its interpreter. Of course, Perl is no longer in the Base System, so this should probably be changed to something like '/usr/bin/env perl'.
Comment 1 Enji Cooper freebsd_committer 2016-02-01 22:35:15 UTC
There isn't a hotcpu dtrace script in the tree. Granted, there are a number of
DTrace scripts in cddl/... that still reference /usr/bin/perl, but this wasn't one
of them (and Mark fixed a few on head).

% find . -name \*hotcpu\*
% git log -n 1
commit 023162425ee9a240c7424fcbb8e0a96f6bebfaf5
Author: glebius <glebius@FreeBSD.org>
Date:   Thu Jan 14 22:48:13 2016 +0000

    Fix typo.

    Approved by:        so

    svn path=/releng/10.2/; revision=294052
Comment 2 Athanasios Douitsis 2016-02-02 08:02:32 UTC
I beg your pardon, I miss-typed hotcpu instead of hotkernel, which is the correct.

But I can see that you have already gone further, many thanks!
Comment 3 Mark Johnston freebsd_committer 2020-09-10 12:38:49 UTC
The DTrace toolkit was removed from the base system and moved to ports (sysutils/dtrace-toolkit).  I see that the shebangs have been fixed in the meantime, all scripts us #!/usr/local/bin/perl.