Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0143bad authored by Ingo Molnar's avatar Ingo Molnar
Browse files

perf_counter: add sample user-space to Documentation/perf_counter/



Initial version of kerneltop.c and perfstat.c.

Acked-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 6f9f791e
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
BINS = kerneltop perfstat

all: $(BINS)

kerneltop: kerneltop.c perfcounters.h
	cc -O6 -Wall -lrt `pkg-config --cflags --libs glib-2.0` -o $@ $<

perfstat: kerneltop
	ln -sf kerneltop perfstat

clean:
	rm $(BINS)
+956 −0

File added.

Preview size limit exceeded, changes collapsed.

+521 −0

File added.

Preview size limit exceeded, changes collapsed.