linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the ftrace tree
@ 2023-10-23  2:30 Stephen Rothwell
  2023-10-23  3:32 ` Matthew Wilcox
  2023-10-26  1:18 ` Stephen Rothwell
  0 siblings, 2 replies; 62+ messages in thread
From: Stephen Rothwell @ 2023-10-23  2:30 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu
  Cc: Matthew Wilcox (Oracle), Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

Hi all,

After merging the ftrace tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

arch/powerpc/kernel/setup-common.c:604:10: error: 'struct seq_buf' has no member named 'readpos'
  604 |         .readpos = 0,
      |          ^~~~~~~
arch/powerpc/kernel/setup-common.c:604:20: error: excess elements in struct initializer [-Werror]
  604 |         .readpos = 0,
      |                    ^
arch/powerpc/kernel/setup-common.c:604:20: note: (near initialization for 'ppc_hw_desc')
cc1: all warnings being treated as errors

Caused by commit

  d0ed46b60396 ("tracing: Move readpos from seq_buf to trace_seq")

I have used the ftrace tree from next-20231020 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 62+ messages in thread
* linux-next: build failure after merge of the ftrace tree
@ 2025-03-11  5:27 Stephen Rothwell
  2025-03-11 13:22 ` Steven Rostedt
  0 siblings, 1 reply; 62+ messages in thread
From: Stephen Rothwell @ 2025-03-11  5:27 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 2018 bytes --]

Hi all,

After merging the ftrace tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

In file included from arch/arm/include/asm/page.h:185,
                 from arch/arm/include/asm/thread_info.h:14,
                 from include/linux/thread_info.h:60,
                 from include/asm-generic/preempt.h:5,
                 from ./arch/arm/include/generated/asm/preempt.h:1,
                 from include/linux/preempt.h:79,
                 from include/linux/alloc_tag.h:11,
                 from include/linux/percpu.h:5,
                 from include/linux/context_tracking_state.h:5,
                 from include/linux/hardirq.h:5,
                 from include/linux/interrupt.h:11,
                 from include/linux/trace_recursion.h:5,
                 from kernel/trace/ring_buffer.c:7:
kernel/trace/ring_buffer.c: In function '__rb_map_vma':
kernel/trace/ring_buffer.c:7137:59: error: passing argument 1 of 'virt_to_pfn' makes pointer from integer without a cast [-Wint-conversion]
 7137 |                 if (virt_addr_valid(cpu_buffer->subbuf_ids[s]))
      |                                     ~~~~~~~~~~~~~~~~~~~~~~^~~
      |                                                           |
      |                                                           long unsigned int
arch/arm/include/asm/memory.h:386:66: note: in definition of macro 'virt_addr_valid'
  386 |                                         && pfn_valid(virt_to_pfn(kaddr)))
      |                                                                  ^~~~~
arch/arm/include/asm/memory.h:290:53: note: expected 'const void *' but argument is of type 'long unsigned int'
  290 | static inline unsigned long virt_to_pfn(const void *p)
      |                                         ~~~~~~~~~~~~^

Caused by commit

  10a299da2c2b ("ring-buffer: Allow persistent ring buffers to be mmapped")

I used the ftrace tree from next-20250307 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 62+ messages in thread
* linux-next: build failure after merge of the ftrace tree
@ 2024-11-08  4:21 Stephen Rothwell
  2024-11-08 14:59 ` Steven Rostedt
  0 siblings, 1 reply; 62+ messages in thread
From: Stephen Rothwell @ 2024-11-08  4:21 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu
  Cc: Alice Ryhl, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

Hi all,

After merging the ftrace tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: modpost: missing MODULE_LICENSE() in samples/rust/rust_print_events.o
ERROR: modpost: "__tracepoint_rust_sample_loaded" [samples/rust/rust_print.ko] undefined!
ERROR: modpost: "rust_do_trace_rust_sample_loaded" [samples/rust/rust_print.ko] undefined!

Caused by commit

  91d39024e1b0 ("rust: samples: add tracepoint to Rust sample")

I have used the ftrace tree from next-20241107 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 62+ messages in thread
* linux-next: build failure after merge of the ftrace tree
@ 2024-11-06  3:04 Stephen Rothwell
  2024-11-06 15:02 ` Steven Rostedt
  2024-11-20 23:27 ` Stephen Rothwell
  0 siblings, 2 replies; 62+ messages in thread
From: Stephen Rothwell @ 2024-11-06  3:04 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu, Michael Ellerman
  Cc: Naveen N Rao, PowerPC, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 2000 bytes --]

Hi all,

After merging the ftrace tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from include/linux/ftrace.h:23,
                 from include/linux/kvm_host.h:32,
                 from arch/powerpc/include/asm/kvm_ppc.h:19,
                 from arch/powerpc/include/asm/dbell.h:17,
                 from arch/powerpc/kernel/asm-offsets.c:36:
arch/powerpc/include/asm/ftrace.h: In function 'arch_ftrace_set_direct_caller':
arch/powerpc/include/asm/ftrace.h:141:38: error: invalid use of undefined type 'struct ftrace_regs'
  141 |         struct pt_regs *regs = &fregs->regs;
      |                                      ^~

Caused by commit

  7888af4166d4 ("ftrace: Make ftrace_regs abstract from direct use")

interacting with commit

  a52f6043a223 ("powerpc/ftrace: Add support for DYNAMIC_FTRACE_WITH_DIRECT_CALLS")

from the powerpc tree.

I have applied the following merge fix patch for today.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 6 Nov 2024 13:33:53 +1100
Subject: [PATCH] fix up for "ftrace: Make ftrace_regs abstract from direct use"

from the ftrace tree interacting with "powerpc/ftrace: Add support for
DYNAMIC_FTRACE_WITH_DIRECT_CALLS" from the powerpc tree

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/powerpc/include/asm/ftrace.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/include/asm/ftrace.h b/arch/powerpc/include/asm/ftrace.h
index bb2c90997618..db481b336bca 100644
--- a/arch/powerpc/include/asm/ftrace.h
+++ b/arch/powerpc/include/asm/ftrace.h
@@ -138,7 +138,7 @@ unsigned long ftrace_call_adjust(unsigned long addr);
  */
 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, unsigned long addr)
 {
-	struct pt_regs *regs = &fregs->regs;
+	struct pt_regs *regs = &arch_ftrace_regs(fregs)->regs;
 
 	regs->orig_gpr3 = addr;
 }
-- 
2.45.2

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 62+ messages in thread
* linux-next: build failure after merge of the ftrace tree
@ 2024-10-10  2:46 Stephen Rothwell
  2024-10-10  3:13 ` Donglin Peng
  2024-10-10 13:27 ` Steven Rostedt
  0 siblings, 2 replies; 62+ messages in thread
From: Stephen Rothwell @ 2024-10-10  2:46 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu
  Cc: Zheng Yejian, Donglin Peng, Donglin Peng,
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

Hi all,

After merging the ftrace tree, today's linux-next build (x86_64
allmodconfig) failed like this:

kernel/trace/trace_functions_graph.c: In function '__trace_graph_retaddr_entry':
kernel/trace/trace_functions_graph.c:151:14: error: implicit declaration of function 'call_filter_check_discard' [-Wimplicit-function-declaration]
  151 |         if (!call_filter_check_discard(call, entry, buffer, event))
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

  21e92806d39c ("function_graph: Support recording and printing the function return address")

interacting with commit

  49e4154f4b16 ("tracing: Remove TRACE_EVENT_FL_FILTERED logic")

I have used the ftrace tree from next-20241009 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 62+ messages in thread
* linux-next: build failure after merge of the ftrace tree
@ 2022-01-12  0:31 Stephen Rothwell
  2022-01-14  1:02 ` Stephen Rothwell
  0 siblings, 1 reply; 62+ messages in thread
From: Stephen Rothwell @ 2022-01-12  0:31 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Yinan Liu, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

Hi all,

After merging the ftrace tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

Inconsistent kallsyms data
Try make KALLSYMS_EXTRA_PASS=1 as a workaround

I am not sure what caused this - maybe commit

  4f1f18311591 ("scripts: ftrace - move the sort-processing in ftrace_init")

I have used the ftrace tree from next-20220111 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 62+ messages in thread
* linux-next: build failure after merge of the ftrace tree
@ 2021-06-10  8:08 Stephen Rothwell
  2021-06-10  8:26 ` Peter Zijlstra
  0 siblings, 1 reply; 62+ messages in thread
From: Stephen Rothwell @ 2021-06-10  8:08 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Peter Zijlstra, Linux Kernel Mailing List,
	Linux Next Mailing List, Mark-PK Tsai, Ard Biesheuvel

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

Hi all,

After merging the ftrace tree, today's linux-next build (powerpc
allyesconfig) failed like this:

Cannot find symbol for section 255: .text.opal_int_set_mfrr.
arch/powerpc/platforms/powernv/opal-call.o: failed

and many more similar.

Caused by commit

  9e419de4c678 ("recordmcount: Correct st_shndx handling")

(I bisected it to this.)

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 62+ messages in thread
* linux-next: build failure after merge of the ftrace tree
@ 2020-06-03  7:42 Stephen Rothwell
  2020-06-03 15:10 ` Tom Zanussi
  2020-06-03 15:22 ` Steven Rostedt
  0 siblings, 2 replies; 62+ messages in thread
From: Stephen Rothwell @ 2020-06-03  7:42 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Tom Zanussi,
	Jonathan Corbet

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

Hi all,

After merging the ftrace tree, today's linux-next build (htmldocs)
failed like this:


Sphinx parallel build error:
docutils.utils.SystemMessage: /home/sfr/next/next/Documentation/trace/histogram-design.rst:219: (SEVERE/4) Unexpected section title.

.
.

Caused by commit

  16b585fe7192 ("tracing: Add histogram-design document")

I am running a slightly out of date version os sphynx (2.4.3) ...

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 62+ messages in thread
* linux-next: build failure after merge of the ftrace tree
@ 2014-11-21  7:32 Stephen Rothwell
  2014-11-21 10:50 ` Jiri Kosina
  2014-11-21 12:43 ` Steven Rostedt
  0 siblings, 2 replies; 62+ messages in thread
From: Stephen Rothwell @ 2014-11-21  7:32 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: linux-next, linux-kernel, Jiri Kosina, Petr Mladek,
	Paul E. McKenney

[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]

Hi Steven,

After merging the ftrace tree, today's linux-next build (powerpc
allnoconfig) failed like this:

In file included from include/asm-generic/percpu.h:6:0,
                 from arch/powerpc/include/asm/percpu.h:19,
                 from include/linux/percpu.h:11,
                 from include/linux/sched.h:41,
                 from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/percpu.h:138:17: error: 'printk_func_t' undeclared here (not in a function)
 DECLARE_PER_CPU(printk_func_t, printk_func);
                 ^
include/linux/percpu-defs.h:101:38: note: in definition of macro 'DECLARE_PER_CPU_SECTION'
  extern __PCPU_ATTRS(sec) __typeof__(type) name
                                      ^
include/linux/percpu.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU'
 DECLARE_PER_CPU(printk_func_t, printk_func);
 ^

Caused by commit afdc34a3d3b8 ("printk: Add per_cpu printk func to
allow printk to be diverted").  See Rule 1 in
Documentation/SubmitChecklist.

I reverted that commit (and the following one (a9edc8809328 "x86/nmi:
Perform a safe NMI stack trace on all CPUs" in case it depended in it)
for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 62+ messages in thread
* linux-next: build failure after merge of the ftrace tree
@ 2013-03-01  2:47 Stephen Rothwell
  2013-03-01  3:06 ` Steven Rostedt
  2013-03-02  2:45 ` Steven Rostedt
  0 siblings, 2 replies; 62+ messages in thread
From: Stephen Rothwell @ 2013-03-01  2:47 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

Hi Steven,

After merging the ftrace tree, today's linux-next build (x86_64
allmodconfig) failed like this:

kernel/trace/trace_kdb.c: In function 'ftrace_dump_buf':
kernel/trace/trace_kdb.c:29:33: error: invalid type argument of '->' (have 'struct trace_array_cpu')
kernel/trace/trace_kdb.c:86:33: error: invalid type argument of '->' (have 'struct trace_array_cpu')

Caused by commit eaac1836c10e ("tracing: Replace the static global
per_cpu arrays with allocated per_cpu").

I have used the ftrace tree from next-20130228 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 62+ messages in thread

end of thread, other threads:[~2025-03-11 13:22 UTC | newest]

Thread overview: 62+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23  2:30 linux-next: build failure after merge of the ftrace tree Stephen Rothwell
2023-10-23  3:32 ` Matthew Wilcox
2023-10-23 13:41   ` Steven Rostedt
2023-10-26  1:18 ` Stephen Rothwell
2023-10-26  1:21   ` Steven Rostedt
  -- strict thread matches above, loose matches on Subject: below --
2025-03-11  5:27 Stephen Rothwell
2025-03-11 13:22 ` Steven Rostedt
2024-11-08  4:21 Stephen Rothwell
2024-11-08 14:59 ` Steven Rostedt
2024-11-08 15:09   ` Alice Ryhl
2024-11-08 20:35     ` Steven Rostedt
2024-11-08 21:05       ` Miguel Ojeda
2024-11-08 21:53         ` Miguel Ojeda
2024-11-09 11:09           ` Steven Rostedt
2024-11-09 11:55             ` Miguel Ojeda
2024-11-09 13:03               ` Steven Rostedt
2024-11-09 16:57                 ` Miguel Ojeda
2024-11-06  3:04 Stephen Rothwell
2024-11-06 15:02 ` Steven Rostedt
2024-11-06 17:47   ` Linus Torvalds
2024-11-20 23:27 ` Stephen Rothwell
2024-10-10  2:46 Stephen Rothwell
2024-10-10  3:13 ` Donglin Peng
2024-10-10 13:27 ` Steven Rostedt
2024-10-10 14:08   ` Donglin Peng
2024-10-10 15:04     ` Steven Rostedt
2024-10-10 15:58     ` Steven Rostedt
2022-01-12  0:31 Stephen Rothwell
2022-01-14  1:02 ` Stephen Rothwell
2022-01-14  1:04   ` Steven Rostedt
2022-01-14  2:16   ` Steven Rostedt
2022-01-14  2:58     ` Stephen Rothwell
2022-01-14  3:02       ` Stephen Rothwell
2022-01-14  3:25         ` Steven Rostedt
2022-01-14  3:34           ` Stephen Rothwell
2022-01-14  3:50             ` Steven Rostedt
2022-01-14  5:12               ` Yinan Liu
2022-01-14  6:42               ` Stephen Rothwell
2021-06-10  8:08 Stephen Rothwell
2021-06-10  8:26 ` Peter Zijlstra
2021-06-10 15:06   ` Steven Rostedt
2021-06-15  6:51     ` Mark-PK Tsai
2020-06-03  7:42 Stephen Rothwell
2020-06-03 15:10 ` Tom Zanussi
2020-06-03 15:22 ` Steven Rostedt
2020-06-03 15:24   ` Tom Zanussi
2020-06-03 15:30     ` Steven Rostedt
2020-06-03 21:49       ` Stephen Rothwell
2014-11-21  7:32 Stephen Rothwell
2014-11-21 10:50 ` Jiri Kosina
2014-11-21 14:20   ` Steven Rostedt
2014-11-21 14:23     ` Jiri Kosina
2014-11-21 14:27     ` Steven Rostedt
2014-11-21 12:43 ` Steven Rostedt
2013-03-01  2:47 Stephen Rothwell
2013-03-01  3:06 ` Steven Rostedt
2013-03-02  2:45 ` Steven Rostedt
2013-03-02  3:42   ` Stephen Rothwell
2013-03-02  3:55     ` Steven Rostedt
2013-03-02  4:17       ` Stephen Rothwell
2013-03-02  4:22         ` Steven Rostedt
2013-03-02  4:55           ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).