#!/bin/sh # SPDX-License-Identifier: GPL-2.0 outfile="" now=`date +%s` while [ $# -gt 0 ] do case "$1" in -o) outfile="$2" shift 2;; -h) echo "usage: $0 [-o outfile] " exit 0;; *) break;; esac done if [ -z "$outfile" ] then outfile=`mktemp --tmpdir stackusage.$$.XXXX` fi KCFLAGS="${KCFLAGS} -fstack-usage" make "$@" # Prepend directory name to file names, remove column information, # make file:line/function/size/type properly tab-separated. find . -name '*.su' -newermt "@${now}" -print | \ xargs perl -MFile::Basename -pe \ '$d = dirname($ARGV); s#([^:]+:[0-9]+):[0-9]+:#$d/$1\t#;' | \ sort -k3,3nr > "${outfile}" echo "$0: output written to ${outfile}" f2678139e941b65a4e9d9ac8'/> Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
AgeCommit message (Expand)Author
2021-03-23perf tools: Fix various typos in commentsIngo Molnar
2019-03-06perf script python: Remove mixed indentationTony Jones
2019-02-25perf script python: Add Python3 support to netdev-times.pyTony Jones
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman
2016-07-09net: tracepoint napi:napi_poll add work and budgetJesper Dangaard Brouer
2014-07-16perf script: Add callchain to generic and tracepoint eventsJoseph Schuchart