diff options
author | Remy Bohmer <linux@bohmer.net> | 2010-05-07 23:34:06 +0200 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2010-06-02 21:09:28 +0200 |
commit | 19974bd935074b1b632c90b542001a329388fa40 (patch) | |
tree | c3a50cbe5899c50667a3f7ceeed5ec6e26e09b67 /patches | |
parent | 40029fde95ec6a40f987232efabeb2576398904a (diff) | |
download | ptxdist-19974bd935074b1b632c90b542001a329388fa40.tar.gz ptxdist-19974bd935074b1b632c90b542001a329388fa40.tar.xz |
[sched_switch] add new packet
Add the sched_switch convert tool to visualise context switches.
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/sched_switch-0.1/fix-cross-compile.patch | 26 | ||||
-rw-r--r-- | patches/sched_switch-0.1/series | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/patches/sched_switch-0.1/fix-cross-compile.patch b/patches/sched_switch-0.1/fix-cross-compile.patch new file mode 100644 index 000000000..d4939e0a4 --- /dev/null +++ b/patches/sched_switch-0.1/fix-cross-compile.patch @@ -0,0 +1,26 @@ +Fix cross compilation + +Signed-off-by: Remy Bohmer <linux@bohmer.net> +--- + Makefile | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +Index: sched_switch-0.1/Makefile +=================================================================== +--- sched_switch-0.1.orig/Makefile ++++ sched_switch-0.1/Makefile +@@ -1 +1,13 @@ +-sched_switch: ++DESTDIR = ++BINDIR = /usr/bin ++ ++sched_switch: sched_switch.c Makefile ++ $(CC) sched_switch.c $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(XCFLAGS) -o sched_switch ++ ++.PHONY: clean ++clean: ++ rm -f sched_switch ++ ++.PHONY: install ++install: sched_switch ++ install -m 0755 sched_switch $(DESTDIR)$(BINDIR)/ diff --git a/patches/sched_switch-0.1/series b/patches/sched_switch-0.1/series new file mode 100644 index 000000000..0190994f9 --- /dev/null +++ b/patches/sched_switch-0.1/series @@ -0,0 +1 @@ +fix-cross-compile.patch |