This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: context.stp - read session ID - function sid()
- From: Josh Stone <jistone at redhat dot com>
- To: Malte Nuhn <nuhn at physik dot rwth-aachen dot de>
- Cc: systemtap at sources dot redhat dot com
- Date: Fri, 08 May 2009 13:06:26 -0700
- Subject: Re: context.stp - read session ID - function sid()
- References: <4A044A00.8000600@physik.rwth-aachen.de>
On 05/08/2009 08:04 AM, Malte Nuhn wrote:
> There's basically no magic in it. I checked that the session information
> is stored in the "signal_struct" since Kernel version 2.6.0 - so i guess
> it should work on every machine that is running systemtap.
Unfortunately, that field is going away -- see this in the kernel:
commit 1b0f7ffd0ea27cd3a0b9ca04e3df9522048c32a3
Author: Oleg Nesterov <oleg@redhat.com>
Date: Thu Apr 2 16:58:39 2009 -0700
pids: kill signal_struct-> __pgrp/__session and friends
Frank already committed your patch, but can you research whether there's
a way to let this continue to work on 2.6.30+?
Thanks,
Josh