recordmcount.pl (4c174688ee92805aa5df6e06e5b625a3286e415c) recordmcount.pl (cb77f0d623ff33a7899cb945f4f5a4825fbb2ea1)
1#!/usr/bin/perl -w
1#!/usr/bin/env perl
2# (c) 2008, Steven Rostedt <srostedt@redhat.com>
3# Licensed under the terms of the GNU GPL License version 2
4#
5# recordmcount.pl - makes a section called __mcount_loc that holds
6# all the offsets to the calls to mcount.
7#
8#
9# What we want to end up with this is that each object file will have a

--- 91 unchanged lines hidden (view full) ---

101# with objcopy.
102# 6) Link together this new object with the list object.
103# 7) Convert the local functions back to local symbols and rename
104# the result as the original object.
105# 8) Link the object with the list object.
106# 9) Move the result back to the original object.
107#
108
2# (c) 2008, Steven Rostedt <srostedt@redhat.com>
3# Licensed under the terms of the GNU GPL License version 2
4#
5# recordmcount.pl - makes a section called __mcount_loc that holds
6# all the offsets to the calls to mcount.
7#
8#
9# What we want to end up with this is that each object file will have a

--- 91 unchanged lines hidden (view full) ---

101# with objcopy.
102# 6) Link together this new object with the list object.
103# 7) Convert the local functions back to local symbols and rename
104# the result as the original object.
105# 8) Link the object with the list object.
106# 9) Move the result back to the original object.
107#
108
109use warnings;
109use strict;
110
111my $P = $0;
112$P =~ s@.*/@@g;
113
114my $V = '0.1';
115
116if ($#ARGV != 11) {

--- 494 unchanged lines hidden ---
110use strict;
111
112my $P = $0;
113$P =~ s@.*/@@g;
114
115my $V = '0.1';
116
117if ($#ARGV != 11) {

--- 494 unchanged lines hidden ---