From 6850bdfb58a24d0f8359fb41512092f57605b17c Mon Sep 17 00:00:00 2001 From: mei-feiyao Date: Thu, 18 Apr 2024 16:49:24 +0800 Subject: [PATCH] fix create log err --- .idea/att.iml | 8 +++ .../inspectionProfiles/profiles_settings.xml | 6 +++ .idea/modules.xml | 8 +++ .idea/vcs.xml | 6 +++ .idea/workspace.xml | 51 +++++++++++++++++++ profiler/affinity_cpu_bind/bind_core.py | 2 + 6 files changed, 81 insertions(+) create mode 100644 .idea/att.iml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml diff --git a/.idea/att.iml b/.idea/att.iml new file mode 100644 index 00000000000..d0876a78d06 --- /dev/null +++ b/.idea/att.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 00000000000..105ce2da2d6 --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000000..7e32274517b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000000..35eb1ddfbbc --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 00000000000..d00819891a0 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + 1713430129693 + + + + \ No newline at end of file diff --git a/profiler/affinity_cpu_bind/bind_core.py b/profiler/affinity_cpu_bind/bind_core.py index d53693815af..1bd9720f9a9 100644 --- a/profiler/affinity_cpu_bind/bind_core.py +++ b/profiler/affinity_cpu_bind/bind_core.py @@ -8,6 +8,8 @@ from datetime import timezone class PathManager: + DATA_FILE_AUTHORITY = 0o640 + @classmethod def create_file_safety(cls, path: str): base_name = os.path.basename(path) -- Gitee