[ltt-dev] LTTng 0.161 for kernel 2.6.30.9 (bugfix release)

Mathieu Desnoyers compudj at krystal.dyndns.org
Wed Oct 14 18:05:35 EDT 2009


* Gregory Haskins (gregory.haskins at gmail.com) wrote:
> Mathieu Desnoyers wrote:
> > Hi,
> > 
> > I released lttng 0.161 today. It fixes a problem with the immediate
> > values breakpoint handler when kprobes is disabled. This problem
> > probably crept in when I ported the patchset from 2.6.29 to 2.6.30.
> > 
> > Mathieu
> > 
> 
> Hi Mathieu,
> 
> I get the following error trying to apply 0.161 on 30.9
> 
> Importing patch "lttng-instrumentation-hugetlb.patch" ...
> error: patch failed: mm/hugetlb.c:2332
> error: mm/hugetlb.c: patch does not apply
>   Warning: Diff written to the .stgit-failed.patch file
>   stg import: git failed with code 1
> 
> 
> Here is the reject:
> 
> @@ -2332,14 +2357,18 @@ int hugetlb_reserve_pages(struct inode *
>  	 */
>  	if (!vma || vma->vm_flags & VM_MAYSHARE)
>  		region_add(&inode->i_mapping->private_list, from, to);
> -	return 0;
> +end:
> +	trace_hugetlb_pages_reserve(inode, from, to, ret);
> +	return ret;
>  }
> 
>  void hugetlb_unreserve_pages(struct inode *inode, long offset, long freed)
>  {
>  	struct hstate *h = hstate_inode(inode);
> -	long chg = region_truncate(&inode->i_mapping->private_list, offset);
> +	long chg;
> 
> +	trace_hugetlb_pages_unreserve(inode, offset, freed);
> +	chg = region_truncate(&inode->i_mapping->private_list, offset);
>  	spin_lock(&inode->i_lock);
>  	inode->i_blocks -= blocks_per_huge_page(h);
>  	spin_unlock(&inode->i_lock);
> 
> 
> I suspect you may have a refresh error again ;)
> 

Yep, it was an incorrect patch context. Refreshing for 2.6.30.9 0.162
which would hit the kernel.org servers about.. now :)

> On a different topic: Any word on a 2.6.31 port?
> 

The good news is: I finished my thesis writeup (yes, I am ecstatic) ;). I
may be able to find some time to look into this in a nearby future, as I
don't expect the correction phase to be as demanding.

Thanks,

Mathieu


> Kind Regards,
> -Greg
> 



> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20091014/72ddd3f9/attachment-0003.pgp>


More information about the lttng-dev mailing list