Skip to content

Commit fd912e4

Browse files
committed
Merge tag 'trace-tools-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing tools updates from Steven Rostedt: "RTLA: - In rtla/utils.c, initialize the 'found' variable to avoid garbage when a mount point is not found. Verification: - Remove duplicated imports on dot2k python script" * tag 'trace-tools-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: rtla: Fix uninitialized variable found verification/dot2k: Delete duplicate imports
2 parents 2a80532 + 696444a commit fd912e4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tools/tracing/rtla/src/utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ static const int find_mount(const char *fs, char *mp, int sizeof_mp)
538538
{
539539
char mount_point[MAX_PATH];
540540
char type[100];
541-
int found;
541+
int found = 0;
542542
FILE *fp;
543543

544544
fp = fopen("/proc/mounts", "r");

tools/verification/dot2/dot2k

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ if __name__ == '__main__':
1515
import os
1616
import platform
1717
import sys
18-
import sys
19-
import argparse
2018

2119
parser = argparse.ArgumentParser(description='transform .dot file into kernel rv monitor')
2220
parser.add_argument('-d', "--dot", dest="dot_file", required=True)

0 commit comments

Comments
 (0)