Skip to contentSkip to conversation

perf: clean should remove libtraceevent.a too

PATCH In review David Ahern 2 participants 3 messages Sep 6, 2012 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: clean should remove libtraceevent.a too

It's built as part of perf, so it should be cleaned too.

Cc Steven Rostedt <[email protected]>
Cc Namhyung Kim <[email protected]>
---
 tools/perf/Makefile |    1 +
 1 file changed, 1 insertion(+)
tools/perf/Makefile +1 -0
index 90d8e09..5f0259e 100644
@@ -1068,6 +1068,7 @@ clean:
 	$(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS
 	$(RM) $(OUTPUT)util/*-bison*
 	$(RM) $(OUTPUT)util/*-flex*
+	$(RM) $(LIBTRACEEVENT)
 	$(python-clean)
 
 .PHONY: all install clean strip $(LIBTRACEEVENT)
Signature · 1 line
1.7.10.1
#1 lore raw
Quoted 14 lines · David Ahern

It's built as part of perf, so it should be cleaned too.

Cc Steven Rostedt <[email protected]>
Cc Namhyung Kim <[email protected]>
---
 tools/perf/Makefile |    1 +
 1 file changed, 1 insertion(+)
tools/perf/Makefile +0 -0
index 90d8e09..5f0259e 100644

tools/perf/Makefile clean: · line 1072

Quoted 5 lines
tools/perf/Makefile +1 -0
@@ -1068,6 +1068,7 @@ clean:
 	$(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS
 	$(RM) $(OUTPUT)util/*-bison*
 	$(RM) $(OUTPUT)util/*-flex*
+	$(RM) $(LIBTRACEEVENT)
 	$(python-clean)

Actually, this should do the clean in the tools/lib/traceevent directory, as this change wont clean the objects created.

-- Steve

#2 lore raw
Quoted 24 lines · Steven Rostedt
Quoted 14 lines · David Ahern

It's built as part of perf, so it should be cleaned too.

Cc Steven Rostedt <[email protected]>
Cc Namhyung Kim <[email protected]>
---
  tools/perf/Makefile |    1 +
  1 file changed, 1 insertion(+)
tools/perf/Makefile +0 -0
index 90d8e09..5f0259e 100644

tools/perf/Makefile clean: · line 1072

Quoted 5 lines
tools/perf/Makefile +1 -0
@@ -1068,6 +1068,7 @@ clean:
  	$(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS
  	$(RM) $(OUTPUT)util/*-bison*
  	$(RM) $(OUTPUT)util/*-flex*
+	$(RM) $(LIBTRACEEVENT)
  	$(python-clean)

Actually, this should do the clean in the tools/lib/traceevent directory, as this change wont clean the objects created.

Quoted 3 lines

-- Steve

Indeed. update coming.