RE: drm2 regression: backlight adjustment on ivybridge no longer works

2015-01-26 Thread Andrew Wilcox
Ranjan1018 . sent: 26 January 2015 06:19: > 2015-01-24 23:25 GMT+01:00 Adrian Chadd : > > The backlight adjustment doesn't work on my ivybridge mobile laptop > > (Lenovo X230) after the dri update. > > > I have the same issue on my Samsung Ativ 2 laptop. I have a Sandy Bridge laptop (Apple MacBoo

Re: Is anyone using the schedgraph.d script?

2015-01-26 Thread Adrian Chadd
On 26 January 2015 at 19:01, Ryan Stone wrote: > Hm, there was one bug in that script. I uploaded a fixed version. The fix > was: > > - printf("%d %d KTRGRAPH group:\"thread\", id:\"%s/%s tid %d\", > state:\"runq add\", attributes: prio:%d, linkedto:\"%s/%s tid %d\"\n", > cpu, timestamp,

Will all kernel functions be loaded into memory, in the same address space with kernel modules?

2015-01-26 Thread Yue Chen
My purpose is to modify kernel function instructions directly through memory at runtime. First I use "objdump -S kernel" to see the function names and their addresses. And then I use pointers to peek into the content at certain function address area (.text segment). However, their content is diffe

Re: Is anyone using the schedgraph.d script?

2015-01-26 Thread Ryan Stone
Hm, there was one bug in that script. I uploaded a fixed version. The fix was: - printf("%d %d KTRGRAPH group:\"thread\", id:\"%s/%s tid %d\", state:\"runq add\", attributes: prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, args[0]->td_proc->p_comm, args[0]->td_name, args[0]->td_tid,

Re: Is anyone using the schedgraph.d script?

2015-01-26 Thread Adrian Chadd
... ignore it for now; I ran some other profiling and then when I tried schedgraph.d again, it started spitting out events for that CPU. I'll file a PR if I see it happen more often. :( -a On 26 January 2015 at 12:05, Adrian Chadd wrote: > Hi, > > I'm having problems with Ryan's schedgraph.d

Is anyone using the schedgraph.d script?

2015-01-26 Thread Adrian Chadd
Hi, I'm having problems with Ryan's schedgraph.d script (people.freebsd.org/~rstone/dtrace/) It runs fine, but if a CPU core is 100% busy, I get zero scheduler events logged from it. Said core is doing around 30,000 syscalls a second, around 250,000 context switches and 125,000 interrupt sa secon

Memory corruption in a master perl process after child exits - only under FreeBSD 10.0 amd64 (not in 10.1 or 9.*)

2015-01-26 Thread Mark Martinec
There is a problem report since July 2014 in a Perl bug tracker, which seems to affect only FreeBSD 10.0 amd64 (regardless of a version of Perl or usage of clang vs. gcc compiler): https://rt.perl.org/Ticket/Display.html?id=122199 I wonder if someone intimately familiar with handling of virtua

Re: drm2 regression: backlight adjustment on ivybridge no longer works

2015-01-26 Thread Ranjan1018 .
2015-01-24 23:25 GMT+01:00 Adrian Chadd : > Hi, > > I've just found a regression. > > The backlight adjustment doesn't work on my ivybridge mobile laptop > (Lenovo X230) after the dri update. > > I've added debugging. It's making it all the way to the pch backlight > panel update routine in intel_