/srv/irclogs.ubuntu.com/2009/05/05/#upstart.txt

tech404So is the reason that almost all the scripts simply trigger old scripts due to the fact everything has not been finalized? I thought we would have seen more services with their own events by now.12:21
tech404s/scripts/events/12:21
Keybuktech404: right12:21
mlazehello there19:18
mlazeany upstart developer around ?19:18
sadmacmlaze: what's up?19:21
mlazei've been reading upstartcode19:22
mlazefor a while trying to figure out how to use ptrace19:22
mlazethough i'm a little confused19:23
sadmacupstart is not a good ptrace tutorial19:23
sadmacits not even a good use case for ptrace19:23
mlazei believe so but t's pretty much readable than gdb for example19:24
sadmacthere's better options still19:24
sadmacstrace for one19:24
mlazethe point is that upstart traces for forks and execs wich is exactly what i'm trying to do19:26
sadmacso does strace :)19:28
sadmacif your use case is similar to ours then ptrace is the wrong way to do it. Its going away soon.19:30
sadmacGranted only Keybuk knows the /right/ way, and he's not giving out the details (you can dig them out of obscurity in the kernel source if you want to).19:30
mlazeyup, after spending some time reading upstart i've figured out that19:32
mlazewaitid and ptrace documentation lacks on some subjects19:33
mlazesadmac: has i suspected, strace doesn't trace forks using PTRACE_SETOPTIONS19:54
mlazebut thanks for the tips19:54
mlazeanyway19:55
sadmacnp19:57

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