#!/usr/bin/perl # # 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/); } tom+xml'/>
summaryrefslogtreecommitdiff
path: root/net/irda
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-28 15:15:42 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-29 19:24:12 -0500
commit40be0dda0725886b623d67868db3219a2e74683b (patch)
tree20e4ab47bba12adbd70701e9d002ccb2599dae64 /net/irda
parent936f459bea07868723b057ece43d321446c82f0a (diff)
net: add devm version of alloc_etherdev_mqs function
This patch adds devm_alloc_etherdev_mqs function and devm_alloc_etherdev macro. These can be used for simpler netdev allocation without having to care about calling free_netdev. Thanks to this change drivers, their error paths and removal paths may get simpler by a bit. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda')