trace, argdist: Fix code formatting nits
diff --git a/tools/argdist.py b/tools/argdist.py
index f6bb8bf..f5422d9 100755
--- a/tools/argdist.py
+++ b/tools/argdist.py
@@ -258,7 +258,7 @@
char needle[] = %s;
char haystack[sizeof(needle)];
bpf_probe_read(&haystack, sizeof(haystack), (void *)str);
- for (int i = 0; i < sizeof(needle)-1; ++i) {
+ for (int i = 0; i < sizeof(needle) - 1; ++i) {
if (needle[i] != haystack[i]) {
return false;
}
diff --git a/tools/trace.py b/tools/trace.py
index ebe1340..52fc99d 100755
--- a/tools/trace.py
+++ b/tools/trace.py
@@ -221,7 +221,7 @@
char needle[] = %s;
char haystack[sizeof(needle)];
bpf_probe_read(&haystack, sizeof(haystack), (void *)str);
- for (int i = 0; i < sizeof(needle)-1; ++i) {
+ for (int i = 0; i < sizeof(needle) - 1; ++i) {
if (needle[i] != haystack[i]) {
return false;
}
@@ -362,7 +362,7 @@
continue
arg_index = int(arg.replace("arg", ""))
arg_ctype = self.usdt.get_probe_arg_ctype(
- self.usdt_name, arg_index-1)
+ self.usdt_name, arg_index - 1)
if not arg_ctype:
self._bail("Unable to determine type of {} "
"in the filter".format(arg))