Skip to content

Commit

Permalink
perf_counter tools: tidy up in-kernel dependencies
Browse files Browse the repository at this point in the history
Remove now unified perfstat.c and perf_counter.h, and link to the
in-kernel perf_counter.h.

Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Orig-LKML-Reference: <20090323172417.677932499@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Apr 6, 2009
1 parent bcbcb37 commit 383c5f8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 395 deletions.
2 changes: 1 addition & 1 deletion Documentation/perf_counter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BINS = kerneltop perfstat

all: $(BINS)

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

perfstat: kerneltop
Expand Down
2 changes: 1 addition & 1 deletion Documentation/perf_counter/kerneltop.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

#include <linux/unistd.h>

#include "include/linux/perf_counter.h"
#include "../../include/linux/perf_counter.h"


/*
Expand Down
142 changes: 0 additions & 142 deletions Documentation/perf_counter/perfcounters.h

This file was deleted.

Loading

0 comments on commit 383c5f8

Please sign in to comment.