Bug 206829

Summary: cddl/contrib/dtracetoolkit/hotkernel has '/usr/bin/perl' as its interpreter
Product: Base System Reporter: Athanasios Douitsis <aduitsis>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: markj, ngie
Priority: ---    
Version: 10.2-RELEASE   
Hardware: Any   
OS: Any   

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 freebsd_triage 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

Notes:
    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 freebsd_triage 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.