Skip to content

Commit d522b2c

Browse files
author
Shuah Khan
committed
tools: move accounting tool from Documentation
Move accounting tool to tools and remove it from Documentation Makefile. Update location information for this tool. Create a new Makefile to build accounting. It can be built from top level directory or from accounting directory: Run make -C tools/accounting or cd tools/accounting; make Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
1 parent 8fc07eb commit d522b2c

6 files changed

Lines changed: 13 additions & 11 deletions

File tree

‎Documentation/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
subdir-y := accounting blackfin \
1+
subdir-y := blackfin \
22
laptops pcmcia

‎Documentation/accounting/Makefile‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎Documentation/accounting/delay-accounting.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ are sent to userspace without requiring a command. If it is the last exiting
5454
task of a thread group, the per-tgid statistics are also sent. More details
5555
are given in the taskstats interface description.
5656

57-
The getdelays.c userspace utility in this directory allows simple commands to
58-
be run and the corresponding delay statistics to be displayed. It also serves
59-
as an example of using the taskstats interface.
57+
The getdelays.c userspace utility in tools/accounting directory allows simple
58+
commands to be run and the corresponding delay statistics to be displayed. It
59+
also serves as an example of using the taskstats interface.
6060

6161
Usage
6262
-----

‎tools/accounting/Makefile‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CC := $(CROSS_COMPILE)gcc
2+
CFLAGS := -I../../usr/include
3+
4+
PROGS := getdelays
5+
6+
all: $(PROGS)
7+
8+
clean:
9+
rm -fr $(PROGS)

0 commit comments

Comments
 (0)