diff options
Diffstat (limited to 'scripts/tracetool')
-rwxr-xr-x | scripts/tracetool | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/tracetool b/scripts/tracetool index 5e77aa243d..47389b62ea 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -422,7 +422,7 @@ linetoh_dtrace() args=$(get_args "$1") argnames=$(get_argnames "$1", ",") - nameupper=`echo $name | tr '[:lower:]' '[:upper:]'` + nameupper=`echo $name | LC_ALL=C tr '[a-z]' '[A-Z]'` # Define an empty function for the trace event cat <<EOF @@ -553,7 +553,7 @@ convert() fi if [ "$1" = "h" ]; then name=$(get_name "$str") - NAME=$(echo $name | tr '[:lower:]' '[:upper:]') + NAME=$(echo $name | LC_ALL=C tr '[a-z]' '[A-Z]') echo "#define TRACE_${NAME}_ENABLED ${enabled}" fi done |