[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#568165: linux-kbuild-2.6.32: please ship recordmcount.pl



Hello,

On Mon, Oct 01, 2012 at 12:42:43AM -0700, Jonathan Nieder wrote:
> reassign 568165 src:linux-tools linux-kbuild-2.6/2.6.32-1
> found 568165 linux-tools/3.5-1~experimental.1 , linux-tools/3.2.17-1
> tags 568165 + patch
> quit
> 
> Hi,
> 
> In 2010, Aaron M. Ucko wrote:
> 
> > Enabling CONFIG_FTRACE_MCOUNT_RECORD in the kernel's configuration calls
> > for the addition of recordmcount.pl to the set of scripts to install (as
> > listed in scripts/Makefile, AFAICT); could you please do so?
> 
> Thanks, and sorry for the long silence.  In
> /usr/lib/linux-kbuild-3.2/scripts/Makefile.build I see:
> 
> 	define rule_cc_o_c
> 		$(call echo-cmd,checksrc) $(cmd_checksrc)                         \
> 		$(call echo-cmd,cc_o_c) $(cmd_cc_o_c);                            \
> 		$(cmd_modversions)                                                \
> 		$(call echo-cmd,record_mcount)                                    \
> 	[...]
> 
> Does the following work?
> 
> Index: debian/changelog
> ===================================================================
> --- debian/changelog	(révision 19403)
> +++ debian/changelog	(copie de travail)
> @@ -1,9 +1,13 @@
>  linux-tools (3.5-1~experimental.2) UNRELEASED; urgency=low
>  
> +  [ Ben Hutchings ]
>    * genorig: Accept xz-compressed upstream tarballs and patches, and
>      generate an xz-compressed orig tarball, thanks to Sedat Dilek
>    * source: Enable xz-compression for debian directory tarball
>  
> +  [ Jonathan Nieder ]
> +  * Include recordmcount.pl (Closes: #568165)
> +
Most archs use the C-version of recordmcount nowadays. I don't know
about 3.2, but for new versions we'd need a binary and rewrite
Makefile.build IIRC.

Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |


Reply to: