[00:13] <bizhanMona> This 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? thx
[00:15] <sarnold> bizhanMona: gettid(2)?
[00:55] <bizhanMona> sarnold: I get compilation error as gettid() is not defined ? thx
[00:56] <sarnold> haha
[00:56] <sarnold> bizhanMona: 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)."
[01:00] <bizhanMona> sarnold: that did it thanks
[01:00] <sarnold> bizhanMona: somehow I'm not surprised that SYS_gettid is the example chosen in syscall(2) :)
[01:01] <bizhanMona> Question, 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? thx
[01:02] <sarnold> bizhanMona: iirc, google published a backtrace-dumper a few years back. it may still be maintained...
[01:02] <bizhanMona> sarnold: thanks so much for all your help
[01:03] <sarnold> bizhanMona: you're welcome :)
[02:30] <RAOF> Is Raring surprisingly slow for anyone else? *Everything* seems to be generally slow, even when not under particular load.
[02:33] <duflu> RAOF: I have suspected a regression in Unity calling paintDisplay more often than it should on regular Compiz frames, based on Nexus 7 observations
[02:34] <RAOF> I'm not sure it's that; even compiling seems to be slower than I'd expect.
[02:34] <duflu> RAOF: I noticed battery life is much improved. Is it stuck at a low performance level? :)
[02:36] <RAOF> Powertop doesn't think so.
[02:36] <RAOF> Ah, hello Firefox and your 600Hz wakeups.
[02:36] <duflu> Heh
[02:36] <duflu> Yeah I don't use Firefox much
[02:37] <duflu> Browsers are a bit of a pain for Compiz, because so many web pages animate on timers...
[02:37] <duflu> People think their desktop is idle but actually not at all
[02:38] <RAOF> Interestingly, Firefox is currently at 550 of my 400 wakups/sec.
[02:38] <RAOF> I'm curious as to how Powertop thinks that :)
[02:38] <duflu> Heh
[02:39] <duflu> RAOF: What if you close all tabs? Is it a page to blame?
[02:39] <RAOF> compiz should never wake up at > 60Hz, right?
[02:39] <duflu> RAOF: Umm, yes 60 Hz should be about the normal limit
[02:39] <duflu> Because we use proper XDamage reporting now
[02:39] <duflu> If an app is rendering too fast it will only impact Xorg and not Compiz any more
[02:40] <RAOF> Yeah, I suspect that powertop is just being inaccurate.
[02:40] <duflu> RAOF: I think there may be exceptions. 60Hz is a limit for damage handling but it wakes up for all sorts of other X events too
[02:41] <duflu> So can be higher
[02:55] <RAOF> Bah. What was the magic incantation to get USB keyboards to work in a pandaboard's initramfs?
[07:16] <mlankhorst> RAOF: I'm guessing loading more modules into the initramfs?
[07:18] <RAOF> mlankhorst: Yeah, but what?
[07:18] <RAOF> Also, difficult to do when it's dropping to the initramfs failing to mount / ☺
[07:19] <mlankhorst> RAOF: well what I personally do is just booting through serial in that case, if you have a cable for it :-)
[07:20] <mlankhorst> then you can tell it to boot through serial needing usb
[07:20] <mlankhorst> without*
[07:23] <RAOF> Yeah, 'twould be nice :)
[07:24] <mlankhorst> http://www.omappedia.com/wiki/Booting_Android#PandaBoard_-_To_boot_kernel_and_filesystem_from_SD_Card for the magic incantation through a serial console
[07:39] <pitti> Good morning
[07:41] <didrocks> hey pitti!
[07:42] <pitti> bonjour didrocks
[09:19] <Laney> happy friday!
[09:21] <didrocks> happy friday Laney!
[09:28] <seb128> hey Laney, didrocks, desktopers, happy friday!
[09:29] <Laney> suppose this is the last day of the year for a few people ;-)
[09:29] <didrocks> hey seb128!
[09:30] <didrocks> Laney: well, last working day. I still want to enjoy my holidays as "day of this year" :)
[09:30] <didrocks> until the 21st of course :p
[09:30] <Laney> haha
[09:30] <Laney> nah, we all know you don't exist when not working
[09:31] <didrocks> ahah, some kind of true! :)
[12:21] <ritz> seb128 ping, pm
[12:40] <seb128> ritz, hey, I was at lunch
[12:40] <ritz> :)
[12:41] <ritz> seb128 aah, sorry. I did not realise
[12:43] <seb128> ritz, no worry ;-)
[15:01] <Laney> erk, what happened to the appearance capplet?
[15:04] <cyphermox> good mornin
[15:07] <didrocks> hey cyphermox, already up?
[15:07] <larsu> empathy sets all my accounts to "online", even though they are disabled in UOA. Even removing them from UOA doesn't help...
[15:07] <larsu> is this a known issue?
[15:07] <seb128> Laney, install gnome-control-center-unity if you don't have it
[15:07] <cyphermox> didrocks: yeah already up ;) and it does sound too early but life must go on
[15:07] <seb128> larsu, UOA: not that I know about...
[15:07] <didrocks> heh ;)
[15:08] <larsu> it's *really* annoying. I set up facebook once and now all those people I never chat with are in empathy
[15:08] <Laney> seb128: oho, indeed
[15:08] <larsu> I even completely removed facebook from UOA!
[15:11]  * larsu deleted the account by calling Remove() on the account manager on the bus
[15:11] <larsu> d-feet ftw
[15:11] <seb128> larsu, you should still open a bug and tell #webapps about it
[15:11] <seb128> stupid gtk question
[15:12] <larsu> seb128, will do
[15:12] <seb128> does anyone know if typeahead can work though multiple columns in a GtkTreeView?
[15:13] <larsu> seb128, not as far as I know, you have to explicitly set the search column for gtktreeview
[15:15] <seb128> larsu, I blame you btw, that's for a printing issue :p
[15:15]  * larsu hides
[15:15] <larsu> what's the issue?
[15:16] <seb128> larsu, the gtkfileselector sucks when you get tons for printers
[15:16] <larsu> yeah...
[15:16] <seb128> those people need a way to filter on the location
[15:16] <seb128> the current dialog only do typeahead on the printer name
[15:16] <seb128> having typeahead on the location as well would be an acceptable workaround for them
[15:16] <seb128> but I don't think we can do that on 2 columns
[15:16] <larsu> no, gtktreeview doesn't seem to support that
[15:17] <larsu> this has been a long-standing issue unfortunately
[15:17] <seb128> was there any idea to address it?
[15:17] <seb128> I can't even find an upstream GTK bug
[15:17] <larsu> the best solution would be the ability to "star" (or "favorite") printers
[15:17] <larsu> and make those always appear first
[15:18] <seb128> do you know if that has been discussed or is a thing?
[16:10] <xnox> my 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:45] <seb128> xnox, that's a good point
[16:45] <seb128> larsu, ^ list first the printer the most recently used (same as file selector does with the recently used list) would be cool
[16:46] <chrisccoulson> hey seb128, how are you?
[16:47] <seb128> chrisccoulson, hey, I'm good thanks, almost the W.E and holidays!
[16:47] <seb128> chrisccoulson, what about you? did you get over your flu?
[16:47] <chrisccoulson> seb128, yeah, i'm better now, thanks
[16:50] <seb128> how are your holidays?
[16:50] <seb128> did you manage to spend some time away from the screen? ;-)
[16:54] <chrisccoulson> seb128, yeah, i've spent a bit of time away from the screen ;)
[17:17] <attente> hi seb128
[17:18] <seb128> attente, hey, how are you?
[17:19] <attente> pretty good :) yourself?
[17:21] <seb128> I'm good thanks
[17:21] <attente> i have the PPA ready, i'm just wondering if you have the time to give it a try?
[17:22] <attente> https://launchpad.net/~attente/+archive/unity-gtk-module
[17:23] <seb128> attente, 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 me
[17:24] <attente> seb128: heh, ok, have a good weekend :)
[17:24] <seb128> attente, thanks, you too!
[17:49]  * didrocks waves good evening, week-end, and see you next year! Enjoy your end of year holidays :)
[17:52] <mterry> It'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:54] <sarnold> mterry: 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 rapidly
[17:54] <sarnold> mterry: 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:55] <mterry> sarnold, 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:56] <sarnold> mterry: yes
[17:56] <mterry> sarnold, hmm...  Thanks