Skip to content

Commit

Permalink
tools: move accounting tool from Documentation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
Shuah Khan committed Sep 23, 2016
1 parent 8fc07eb commit d522b2c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
subdir-y := accounting blackfin \
subdir-y := blackfin \
laptops pcmcia
7 changes: 0 additions & 7 deletions Documentation/accounting/Makefile

This file was deleted.

6 changes: 3 additions & 3 deletions Documentation/accounting/delay-accounting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ are sent to userspace without requiring a command. If it is the last exiting
task of a thread group, the per-tgid statistics are also sent. More details
are given in the taskstats interface description.

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

Usage
-----
Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions tools/accounting/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CC := $(CROSS_COMPILE)gcc
CFLAGS := -I../../usr/include

PROGS := getdelays

all: $(PROGS)

clean:
rm -fr $(PROGS)
File renamed without changes.

0 comments on commit d522b2c

Please sign in to comment.