Repository navigation
Expand file tree
/
Copy pathlogs.ps1
More file actions
64 lines (59 loc) · 1.38 KB
/
Copy pathlogs.ps1
File metadata and controls
64 lines (59 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Import-Module "$PSScriptRoot/__mod__.psm1" -Force
Invoke-ADB
Clear-Host
$HidePats = @(
'fromNullable'
'concurrent copying GC'
'A resource failed to call close'
'TRACE Starting certificate trust'
'Accessing hidden (field|method)'
'Cancelling event due to'
'Verification of(.*)took(.*)ms'
'Late-enabling -Xcheck:jni'
"Unknown chunk type '200'"
'AWV - '
'Access token is null!'
)
$HideTags = @(
'okhttp.OkHttpClient'
'ExoPlayerImpl'
'chatty'
'CameraManagerGlobal'
'AudioTrack'
'MediaCodecRenderer'
'AmazonKeyEventLogging'
'StaticLayout'
'cr_VAUtil'
'Chrome_InProcGp'
'IMGSRV'
'cr_AWVDeploymentClient'
'WebViewExtAmazonConfig'
'WebViewExtAmazon'
'VideoCapabilities'
'Choreographer'
'OpenGLRenderer'
'ConfigStore'
'ion'
'PerfStatsManager'
'MultiDex'
'libc'
'InputMethodManager'
'cr_ApkInfo'
'HDRVideoUtils'
'cr_LibraryLoader'
'cr_CachingUmaRecorder'
'cr_CombinedPProvider'
'cr_PolicyProvider'
'cr_WVCFactoryProvider'
'cr_AppResProvider'
'art'
'FrameworkJumpTable'
'MTK_GRALLOC'
'VMetricsFramework.Event'
)
Invoke-Python 'lib/pidcat/pidcat.py' `
"minefarts.smarttube" `
'--min-level' 'V' `
'--regex' ('^(?!.*(' + ($HidePats -join '|') + '))') `
@($HideTags | ForEach-Object { '--ignore-tag', $_ }) `
'--clear'