/srv/irclogs.ubuntu.com/2012/12/14/#ubuntu-desktop.txt

bizhanMonaThis is what I am looking for to print : prinf(" /proc/%u/task/%u/stat", myPid, myTid), How could I get the myTid  value which is the Thread id? thx00:13
sarnoldbizhanMona: gettid(2)?00:15
bizhanMonasarnold: I get compilation error as gettid() is not defined ? thx00:55
sarnoldhaha00:56
sarnoldbizhanMona: ooof, I always forget this part of that stpuid manpage: "Glibc does not provide a wrapper for this system call; call it using syscall(2)."00:56
bizhanMonasarnold: that did it thanks01:00
sarnoldbizhanMona: somehow I'm not surprised that SYS_gettid is the example chosen in syscall(2) :)01:00
bizhanMonaQuestion, I would like to print the backtrace of a running program when i meet a certain condition, not using gdb, is there a library call or system call I can call from within my program? thx01:01
sarnoldbizhanMona: iirc, google published a backtrace-dumper a few years back. it may still be maintained...01:02
bizhanMonasarnold: thanks so much for all your help01:02
sarnoldbizhanMona: you're welcome :)01:03
RAOFIs Raring surprisingly slow for anyone else? *Everything* seems to be generally slow, even when not under particular load.02:30
dufluRAOF: I have suspected a regression in Unity calling paintDisplay more often than it should on regular Compiz frames, based on Nexus 7 observations02:33
RAOFI'm not sure it's that; even compiling seems to be slower than I'd expect.02:34
dufluRAOF: I noticed battery life is much improved. Is it stuck at a low performance level? :)02:34
RAOFPowertop doesn't think so.02:36
RAOFAh, hello Firefox and your 600Hz wakeups.02:36
dufluHeh02:36
dufluYeah I don't use Firefox much02:36
dufluBrowsers are a bit of a pain for Compiz, because so many web pages animate on timers...02:37
dufluPeople think their desktop is idle but actually not at all02:37
RAOFInterestingly, Firefox is currently at 550 of my 400 wakups/sec.02:38
RAOFI'm curious as to how Powertop thinks that :)02:38
dufluHeh02:38
dufluRAOF: What if you close all tabs? Is it a page to blame?02:39
RAOFcompiz should never wake up at > 60Hz, right?02:39
dufluRAOF: Umm, yes 60 Hz should be about the normal limit02:39
dufluBecause we use proper XDamage reporting now02:39
dufluIf an app is rendering too fast it will only impact Xorg and not Compiz any more02:39
RAOFYeah, I suspect that powertop is just being inaccurate.02:40
dufluRAOF: I think there may be exceptions. 60Hz is a limit for damage handling but it wakes up for all sorts of other X events too02:40
dufluSo can be higher02:41
RAOFBah. What was the magic incantation to get USB keyboards to work in a pandaboard's initramfs?02:55
=== Ursinha is now known as Ursinha-afk
mlankhorstRAOF: I'm guessing loading more modules into the initramfs?07:16
RAOFmlankhorst: Yeah, but what?07:18
RAOFAlso, difficult to do when it's dropping to the initramfs failing to mount / ☺07:18
mlankhorstRAOF: well what I personally do is just booting through serial in that case, if you have a cable for it :-)07:19
mlankhorstthen you can tell it to boot through serial needing usb07:20
mlankhorstwithout*07:20
RAOFYeah, 'twould be nice :)07:23
mlankhorsthttp://www.omappedia.com/wiki/Booting_Android#PandaBoard_-_To_boot_kernel_and_filesystem_from_SD_Card for the magic incantation through a serial console07:24
pittiGood morning07:39
didrockshey pitti!07:41
pittibonjour didrocks07:42
Laneyhappy friday!09:19
didrockshappy friday Laney!09:21
=== duflu is now known as duflu|vacation
seb128hey Laney, didrocks, desktopers, happy friday!09:28
Laneysuppose this is the last day of the year for a few people ;-)09:29
didrockshey seb128!09:29
didrocksLaney: well, last working day. I still want to enjoy my holidays as "day of this year" :)09:30
didrocksuntil the 21st of course :p09:30
Laneyhaha09:30
Laneynah, we all know you don't exist when not working09:30
didrocksahah, some kind of true! :)09:31
=== vrruiz_ is now known as rvr_
=== tkamppeter_ is now known as tkamppeter
ritzseb128 ping, pm12:21
seb128ritz, hey, I was at lunch12:40
ritz:)12:40
ritzseb128 aah, sorry. I did not realise12:41
seb128ritz, no worry ;-)12:43
=== Ursinha-afk is now known as Ursinha
=== Quintasan_ is now known as Quintasan
=== Ursinha_ is now known as Ursinha
Laneyerk, what happened to the appearance capplet?15:01
cyphermoxgood mornin15:04
didrockshey cyphermox, already up?15:07
larsuempathy sets all my accounts to "online", even though they are disabled in UOA. Even removing them from UOA doesn't help...15:07
larsuis this a known issue?15:07
seb128Laney, install gnome-control-center-unity if you don't have it15:07
cyphermoxdidrocks: yeah already up ;) and it does sound too early but life must go on15:07
seb128larsu, UOA: not that I know about...15:07
didrocksheh ;)15:07
larsuit's *really* annoying. I set up facebook once and now all those people I never chat with are in empathy15:08
Laneyseb128: oho, indeed15:08
larsuI even completely removed facebook from UOA!15:08
* larsu deleted the account by calling Remove() on the account manager on the bus15:11
larsud-feet ftw15:11
seb128larsu, you should still open a bug and tell #webapps about it15:11
seb128stupid gtk question15:11
larsuseb128, will do15:12
seb128does anyone know if typeahead can work though multiple columns in a GtkTreeView?15:12
larsuseb128, not as far as I know, you have to explicitly set the search column for gtktreeview15:13
seb128larsu, I blame you btw, that's for a printing issue :p15:15
* larsu hides15:15
larsuwhat's the issue?15:15
seb128larsu, the gtkfileselector sucks when you get tons for printers15:16
larsuyeah...15:16
seb128those people need a way to filter on the location15:16
seb128the current dialog only do typeahead on the printer name15:16
seb128having typeahead on the location as well would be an acceptable workaround for them15:16
seb128but I don't think we can do that on 2 columns15:16
larsuno, gtktreeview doesn't seem to support that15:16
larsuthis has been a long-standing issue unfortunately15:17
seb128was there any idea to address it?15:17
seb128I can't even find an upstream GTK bug15:17
larsuthe best solution would be the ability to "star" (or "favorite") printers15:17
larsuand make those always appear first15:17
seb128do you know if that has been discussed or is a thing?15:18
xnoxmy problem with printer ordering is that is should show them in "last used printer order" cause if i just printed something to printer X it is very lickely that (a) i want to print there again (b) i want to open & look up queue errors...16:10
=== sil2100_ is now known as sil2100
seb128xnox, that's a good point16:45
seb128larsu, ^ list first the printer the most recently used (same as file selector does with the recently used list) would be cool16:45
chrisccoulsonhey seb128, how are you?16:46
seb128chrisccoulson, hey, I'm good thanks, almost the W.E and holidays!16:47
seb128chrisccoulson, what about you? did you get over your flu?16:47
chrisccoulsonseb128, yeah, i'm better now, thanks16:47
seb128how are your holidays?16:50
seb128did you manage to spend some time away from the screen? ;-)16:50
chrisccoulsonseb128, yeah, i've spent a bit of time away from the screen ;)16:54
attentehi seb12817:17
=== gatox_ultra is now known as gatox
seb128attente, hey, how are you?17:18
attentepretty good :) yourself?17:19
seb128I'm good thanks17:21
attentei have the PPA ready, i'm just wondering if you have the time to give it a try?17:21
attentehttps://launchpad.net/~attente/+archive/unity-gtk-module17:22
seb128attente, oh, nice, maybe not today (it's 6:23pm on a friday evening ;-) but I will play with it in the next day and let you know how it works for me17:23
attenteseb128: heh, ok, have a good weekend :)17:24
seb128attente, thanks, you too!17:24
* didrocks waves good evening, week-end, and see you next year! Enjoy your end of year holidays :)17:49
mterryIt's not bad if (in top) a program's VIRT count climbs but it's RES count stays roughly steady, right?  That just means it's allocating and freeing a bunch of stuff?17:52
sarnoldmterry: depends on a lot -- if the process is just running around mmapping the world, the virt count would go up and res would increment slowly.. until the program started _using_ that memory, then it could jump quite rapidly17:54
sarnoldmterry: or, perhaps the memory is getting fragmented, and new memory allocations cannot be made from existing address space.. eventually the new allocations will fail, but on 64 bits it ought to take a while... :)17:54
mterrysarnold, yeah if it were simply alloc/free'ing a bunch, VIRT wouldn't go up, right?  It would have to fragment memory in order for more space to be made available?17:55
sarnold(and the resulting loss of locality may slightly slow the system; a long-lived process should probably be looked at to avoid this kind of growth, a short-lived process it probably doesn't matter much)17:55
sarnoldmterry: yes17:56
mterrysarnold, hmm...  Thanks17:56
=== Ursinha is now known as Ursinha-afk
=== Sweetshark is now known as UbuntuRocksMOAR
=== UbuntuRocksMOAR is now known as Sweetshark
=== hggdh_ is now known as hggdh

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!