Closed nclman closed 5 years ago
Can you paste the command line (along with argument values) you used to invoke the script?
python run_all.py -f ~/mediatek/kernel-3.18/ioctl_finder_out -o ~/mediatek/kernel-3.18/ioctl_finder_out_pp -n auto -m 0
Also tried with various values of "-m".
On further analysis, I see that it is because of the two generated files:
These two files have the same ioctl name: disp_unlocked_ioctl
The post-processor script tries to create a directory the second time but it is already created due to the first file.
How should this case be handled?
Hi, I'm encountering problems with the mediatek example kernel as well as another Samsung kernel, in the post-processing stage.
============================= [+] About to run on 56 ioctl info file(s) [+] Running on file /mediatek/kernel-3.18/ioctl_finder_out/alsps_factory_unlocked_ioctl.txt [+] ioctl name: alsps_factory_unlocked_ioctl Traceback (most recent call last): File "run_all.py", line 496, in
main()
File "run_all.py", line 429, in main
os.mkdir(out_dir + ioctl_name)
OSError: [Errno 17] File exists: ' /mediatek/kernel-3.18/ioctl_finder_out_ppxml/disp_unlocked_ioctl'
Any help is appreciated.