[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-5.1] net/colo: Remove unused trace event
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH-for-5.1] net/colo: Remove unused trace event |
Date: |
Wed, 15 Jul 2020 17:02:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 7/15/20 4:56 PM, no-reply@patchew.org wrote:
> Patchew URL:
> 20200715143130.11164-1-philmd@redhat.com/">https://patchew.org/QEMU/20200715143130.11164-1-philmd@redhat.com/
>
> In file included from /tmp/qemu-test/build/net/trace.h:6:0,
> from /tmp/qemu-test/src/net/colo-compare.c:18:
> /tmp/qemu-test/src/net/colo-compare.c: In function
> 'colo_compare_packet_payload':
> /tmp/qemu-test/src/net/colo-compare.c:330:40: error:
> 'TRACE_COLO_COMPARE_MISCOMPARE_ENABLED' undeclared (first use in this
> function)
> if (trace_event_get_state_backends(TRACE_COLO_COMPARE_MISCOMPARE)) {
> ^
> /tmp/qemu-test/src/trace/control.h:120:7: note: in definition of macro
> 'trace_event_get_state_backends'
> ---
> /tmp/qemu-test/src/trace/control.h:120:7: note: in definition of macro
> 'trace_event_get_state_backends'
> ((id ##_ENABLED) && id ##_BACKEND_DSTATE())
> ^
> /tmp/qemu-test/src/net/colo-compare.c:330:5: error: implicit declaration of
> function 'TRACE_COLO_COMPARE_MISCOMPARE_BACKEND_DSTATE'
> [-Werror=implicit-function-declaration]
> if (trace_event_get_state_backends(TRACE_COLO_COMPARE_MISCOMPARE)) {
Ah, interesting :)