https://github.com/torvalds/linux
Revision cced4c0ec7c06f5230a2958907a409c849762293 authored by Colin Ian King on 24 September 2021, 23:03:30 UTC, committed by Martin K. Petersen on 29 September 2021, 02:47:28 UTC
There are a couple of spelling mistakes in pr_info and pr_err messages.
Fix them.

Link: https://lore.kernel.org/r/20210924230330.143785-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent dd689ed
Raw File
Tip revision: cced4c0ec7c06f5230a2958907a409c849762293 authored by Colin Ian King on 24 September 2021, 23:03:30 UTC
scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
Tip revision: cced4c0
profile2linkerlist.pl
#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0

#
# Takes a (sorted) output of readprofile and turns it into a list suitable for
# linker scripts
#
# usage:
#	 readprofile | sort -rn | perl profile2linkerlist.pl > functionlist
#
use strict;

while (<>) {
  my $line = $_;

  $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/;

  print "*(.text.$1)\n"
      unless ($line =~ /unknown/) || ($line =~ /total/);
}
back to top