Monday, January 13, 2014

linux.kernel - 26 new messages in 20 topics - digest

linux.kernel
http://groups.google.com/group/linux.kernel?hl=en

linux.kernel@googlegroups.com

Today's topics:

* perf probe: Build error with missing libraries - 2 messages, 1 author
http://groups.google.com/group/linux.kernel/t/ed626ce36201b7f7?hl=en
* perf tools: Fix build error on zfree() - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/e33e3ea90673e56a?hl=en
* randconfig build error with next-20140113, in net/netfilter/nft_reject.c - 1
messages, 1 author
http://groups.google.com/group/linux.kernel/t/dbbb99f429c3ba3c?hl=en
* watchdog: bcm281xx: Debugfs support - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/f069197faa0e6a20?hl=en
* : KGDB/KDB/UV updates. - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/49c736b07b53b058?hl=en
* [RFC] timekeeping: Rework frequency adjustments to work better w/ nohz - 1
messages, 1 author
http://groups.google.com/group/linux.kernel/t/19adf75934a64313?hl=en
* init: efi: arm: enable (U)EFI runtime services on arm - 3 messages, 2
authors
http://groups.google.com/group/linux.kernel/t/260609102e2a8650?hl=en
* watchdog: s3c2410_wdt: Report when the watchdog reset the system - 1
messages, 1 author
http://groups.google.com/group/linux.kernel/t/4c3bc8c2f15c92af?hl=en
* target/configfs: Expose protection device attributes - 3 messages, 2 authors
http://groups.google.com/group/linux.kernel/t/0f7dabefe93a4442?hl=en
* mmc: sdhci-acpi: convert to use GPIO descriptor API - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/605c7d67de303908?hl=en
* lockdep: Kill held_lock->check and "int check" arg of __lock_acquire() - 1
messages, 1 author
http://groups.google.com/group/linux.kernel/t/07e5799772466cd4?hl=en
* NFSv4.1: Fix a race in nfs4_write_inode - 2 messages, 1 author
http://groups.google.com/group/linux.kernel/t/f430e132365554b1?hl=en
* Driver/IFC: Move Freescale IFC driver to a common driver - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/e1ab3bbaf7a7d836?hl=en
* DAS6402: Fixing foo * bar should be foo *bar - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/228bf95187897bba?hl=en
* arm64: add EFI stub - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/a8b497e556d0908d?hl=en
* mm: thp: Add per-mm_struct flag to control THP - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/d9fd22ac1fdbf6b3?hl=en
* pci/iov: VFs are never multifunction - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/c117099b558ec734?hl=en
* sched: allow try_to_wake_up to be used internally outside of core.c - 1
messages, 1 author
http://groups.google.com/group/linux.kernel/t/51446f9794f7d466?hl=en
* pinctrl: typo and grammar fixes - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/a3d021bdc1b30678?hl=en
* usb: hub: Avoid tight loop holding hdev lock - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/ce0fa8b1772d1008?hl=en

==============================================================================
TOPIC: perf probe: Build error with missing libraries
http://groups.google.com/group/linux.kernel/t/ed626ce36201b7f7?hl=en
==============================================================================

== 1 of 2 ==
Date: Mon, Jan 13 2014 10:10 am
From: Arnaldo Carvalho de Melo


On a Ubuntu system just installed (13.10, x86_64), I'm installing the
devel libs one by one to check if there are problems with the automatic
disabling of features that requires libraries not installed.

Stumbled at this:

CC /tmp/build/perf/util/probe-event.o
util/probe-event.c: In function 'try_to_find_probe_trace_events':
util/probe-event.c:753:46: error: unused parameter 'target'
[-Werror=unused-parameter]
int max_tevs __maybe_unused, const char *target)
^
util/probe-event.c: At top level:
util/probe-event.c:193:12: error: 'get_text_start_address' defined but
not used [-Werror=unused-function]
static int get_text_start_address(const char *exec, unsigned long
*address)
^
cc1: all warnings being treated as errors
make[1]: *** [/tmp/build/perf/util/probe-event.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2
make: Leaving directory `/home/acme/git/linux/tools/perf'
acme@ubuntu13:~/git/linux$

Investigating...

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/




== 2 of 2 ==
Date: Mon, Jan 13 2014 10:20 am
From: Arnaldo Carvalho de Melo


Em Mon, Jan 13, 2014 at 03:04:00PM -0300, Arnaldo Carvalho de Melo escreveu:
> On a Ubuntu system just installed (13.10, x86_64), I'm installing the
> devel libs one by one to check if there are problems with the automatic
> disabling of features that requires libraries not installed.

> Stumbled at this:

> util/probe-event.c: At top level:
> util/probe-event.c:193:12: error: 'get_text_start_address' defined but
> not used [-Werror=unused-function]

> Investigating...

This patch below fixes it, applying.

Jiri, this is something else for the give-me-more-ponies list for
tests/make: build it on freshly provisioned systems with multiple mixes
of devel packages installed ;-)

- Arnaldo

diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
index 86ed858..a4ee6b4 100644
--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -172,6 +172,7 @@ const char *kernel_get_module_path(const char *module)
return (dso) ? dso->long_name : NULL;
}

+#ifdef HAVE_DWARF_SUPPORT
/* Copied from unwind.c */
static Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep,
GElf_Shdr *shp, const char *name)
@@ -217,6 +218,7 @@ out:
elf_end(elf);
return ret;
}
+

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate