Comments (14)
From [email protected] on May 24, 2012 16:38:09
Labels: GoodStartBug
from trace-viewer.
From [email protected] on May 24, 2012 16:38:19
Labels: -GoodStartBug GoodFirstBug
from trace-viewer.
From [email protected] on June 09, 2012 02:25:08
Cc: [email protected] [email protected]
Labels: -OS-All -Area-Internals -Pri-2 -Feature-DevTools-Tracing Tool-All Area-Import Pri-1
from trace-viewer.
From [email protected] on February 02, 2013 21:13:39
Is there an example file with sched_wakeup entries?
from trace-viewer.
From [email protected] on February 02, 2013 21:28:56
(this looks like a bug entered after the hackathon this summer, so not sure if still a desired feature)
The difference between the two is that sched_wakeup tells when work (a process) has been woken up. This means its ready to be run, but not necessarily running yet (as opposed to sleeping on some event).
I'm not sure sched_wakeup would be helpful then. Right now we just show what's actively running on the CPU. If we just switched over, we'd see all processes that are ready to run (including the one currently running) at once.
from trace-viewer.
From [email protected] on February 02, 2013 21:29:43
I should have said the difference between sched_wakeup and sched_switch, which I think we use now.
from trace-viewer.
From [email protected] on February 03, 2013 15:25:38
test_data/android_systrace.html has sched_wakeup. I think that trace is from a JOP40D build, though my memory may be wrong.
We definitely want to fix this: sched_wakeup happens when a thread goes from sleeping to runnable state. Right now, we incorrectly report that the thread is still sleeping, which is really bad.
This shoudl be a matter of, in the sched parser, going and telling the thread state tracker that the state did change to runnable.
from trace-viewer.
From [email protected] on February 07, 2013 19:59:48
linux_perf_sched_parser.js has handlers registered for both sched_switch and sched_wakeup. It looks like _wakeup is doing the marking as runnable (this.importer.markPidRunnable(ts, pid, comm, prio)).
Don't think there is anything to do for this bug. Closing, please re-open if I'm missing something.
Status: Invalid
Owner: [email protected]
from trace-viewer.
From [email protected] on February 08, 2013 10:21:53
The markPidRunnable method is not implemented. I implemented it last November, but unfortunately I accidentally deleted the source tree it was in before uploading it. It wasn't too difficult, but it did require some changes to buildPerThreadCpuSlicesFromCpuState in linux_perf_importer.js IIRC.
Status: Assigned
from trace-viewer.
From [email protected] on February 09, 2013 06:46:38
Summary: Implement markPidRunnable to complete sched_wakeup handling (was: Handle sched_wakeup in Linux perf importer)
from trace-viewer.
From [email protected] on February 14, 2013 19:34:08
Today I found the change I did a while back for this bug. It's awaiting review at https://codereview.appspot.com/7303094/
from trace-viewer.
From [email protected] on February 15, 2013 16:33:33
Fixed by https://codereview.appspot.com/7303094/
Owner: [email protected]
from trace-viewer.
From [email protected] on February 15, 2013 16:33:51
Status: Fixed
from trace-viewer.
From [email protected] on February 15, 2013 16:34:49
Awesome. Thanks a lot for digging this stuff up.
from trace-viewer.
Related Issues (20)
- Consider continuous CSS animations in IR finder. HOT 1
- Meaningful IR Titles HOT 1
- Flow IDs are not unique and some "f" flows do not have matching "s" phase and vice versa HOT 5
- tracing python code adds toplevel to sys.path HOT 3
- Display item lists not shown in FrameViewer by default HOT 1
- DEPS roll blocked on licensecheck issues HOT 4
- model/mode.html exports to tr, not tr.model HOT 1
- "Mark" trace events are not being imported into trace viewer HOT 1
- Selecting a slice in a trace with many flow events can be slow. HOT 4
- Move brushing_state_controller from core/ to ui/
- Get microtasks out of v8 and into weather report overheads HOT 2
- IR Finder creates too many response records on a 60hz mousewheel scroll HOT 4
- gzipped files not working in devserver trace-viewer HOT 2
- PRESUBMIT bug=x checker doesn't support x,y HOT 2
- chrome crash when loading large trace file(>800MB) HOT 1
- Providing a stack array in trace events causes an import error HOT 1
- Recording traces in chromium generates JSON events with duplicate fields HOT 1
- Loading v8.log no longer shows anything
- Handling very large traces
- system hang after open 2nd trace file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trace-viewer.