aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/oprofile/oprofile
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-06-15 12:13:22 -0700
committerTom Rini <tom_rini@mentor.com>2010-06-15 12:13:22 -0700
commitd7074fcd050246b0744595da23a9cd7602c34eb6 (patch)
tree5b1cfde5de1ffc41017d1a53adf1cf01b2f4343f /recipes/oprofile/oprofile
parentffd3912629452018eb7cbf248314d78252256764 (diff)
downloadopenembedded-d7074fcd050246b0744595da23a9cd7602c34eb6.tar.gz
oprofile: busybox shell needs we need a bit more quoting in opcontrol
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/oprofile/oprofile')
-rw-r--r--recipes/oprofile/oprofile/opcontrol-eval-fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/oprofile/oprofile/opcontrol-eval-fix.patch b/recipes/oprofile/oprofile/opcontrol-eval-fix.patch
new file mode 100644
index 0000000000..332a446f65
--- /dev/null
+++ b/recipes/oprofile/oprofile/opcontrol-eval-fix.patch
@@ -0,0 +1,19 @@
+Index: oprofile/utils/opcontrol
+===================================================================
+--- oprofile.orig/utils/opcontrol
++++ oprofile/utils/opcontrol
+@@ -362,12 +362,12 @@ create_dir()
+
+ get_event()
+ {
+- GOTEVENT=`eval "echo \\$CHOSEN_EVENTS_$1"`
++ GOTEVENT=`eval "echo \"\\$CHOSEN_EVENTS_$1\""`
+ }
+
+ set_event()
+ {
+- eval "CHOSEN_EVENTS_$1=$2"
++ eval "CHOSEN_EVENTS_$1=\"$2\""
+ }
+
+