Issue metadata
Sign in to add a comment
|
Kernel tracing info absent |
||||||||||||||||||||
Issue descriptionM65, ChromeOS (it does not work on Linux/Mac/ Windows either, but I'm not sure if it's supposed to) What steps will reproduce the problem? (1) Go to chrome://tracing (2) Press "Record" > "Edit categories" (3) Make sure "System tracing" checkbox is marked (4) Press "Record" What is the expected result? Traces with "Kernel" section, which has all CPUs and what is run on each of them at any given moment (see attachment from M61) What happens instead? Only "CPU usage" section, no "Kernel" section. It does not seem to work in M64 either?
,
Mar 2 2018
oysteine@: assigning to you as a tracing owner, could PTAL or re-route? We need this functionality back quite badly, to debug performance regressions. Thanks!
,
Mar 2 2018
> it does not work on Linux/Mac/ Windows either, but I'm not sure if it's supposed to No Did you reproduce on a CrOS device? Which device? We need somebody from CrOS to look into this. Very likely the path of /sys/kernel/debug/tracing changed or is not accessible anymore. Neither Oystein nor I do CrOS development. Can somebody from CrOS land look into this? cc-ing a bunch of folks who might help
,
Mar 2 2018
The last I checked was Squawks, and we tried some other Chromebooks as well as CfM.
,
Mar 7 2018
I seem to be able to repro the issue on M65 on samus while we can't repro on M66 eve or kevin. Trying samus with M66.
,
Mar 7 2018
Same issue on samus with M66
,
Mar 7 2018
Do these CrOS devices have selinux? One posibility is that selinux is misconfigured on them and chrome can't access debugfs. If you do dmesg | grep denied do you see any avc: denial message?
,
Mar 7 2018
I see a lot of avc: denied messages. There is also one with path /sys/kernel/debug
,
Mar 7 2018
> There is also one with path /sys/kernel/debug can you please paste it. that might be the culprit.
,
Mar 7 2018
If I disable enforcement as suggested by Primiano, with setenforce 0, the per CPU traces are back.
,
Mar 7 2018
Output of dmesg | grep denied: https://paste.googleplex.com/6701584935288832
,
Mar 7 2018
okay it's definitely a selinux problem. We need to find where selinux policies live for CrOS. olka@ in the meantime, if you are root on the device, you can workaround this by just typing "setenforce 0" on a terminal
,
Mar 7 2018
,
Mar 8 2018
Thanks, we'll give it a try!
,
Apr 4 2018
Would it be possible to fix it for M67? The bug really limits our ability to asses performance issues on CfM devices. (Rooted devices cannot join meetings in the production environment.) Thanks!
,
Apr 26 2018
+kerrnel: any idea who might be an appropriate owner for this? It seems like an issue with selinux policies.
,
Jun 28 2018
,
Jan 7
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by spang@chromium.org
, Mar 1 2018