lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 19 Feb 2020 11:20:08 +0200
From:   Mathias Nyman <>
To:     Steven Rostedt <>,
        LKML <>
Cc:     Mathias Nyman <>,
        Greg Kroah-Hartman <>,,
        Tzvetomir Stoyanov <>,
        Felipe Balbi <>
Subject: Re: [PATCH] xhci: Do not open code __print_symbolic() in xhci trace

On 14.2.2020 18.56, Steven Rostedt wrote:
> From: Steven Rostedt (VMware) <>
> libtraceevent (used by perf and trace-cmd) failed to parse the
> xhci_urb_dequeue trace event. This is because the user space trace
> event format parsing is not a full C compiler. It can handle some basic
> logic, but is not meant to be able to handle everything C can do.
> In cases where a trace event field needs to be converted from a number
> to a string, there's the __print_symbolic() macro that should be used:
>  See samples/trace_events/trace-events-sample.h
> Some xhci trace events open coded the __print_symbolic() causing the
> user spaces tools to fail to parse it. This has to be replaced with
> __print_symbolic() instead.
> CC:
> Reported-by: Tzvetomir Stoyanov <>
> Bugzilla:
> Fixes: 5abdc2e6e12ff ("usb: host: xhci: add urb_enqueue/dequeue/giveback tracers")
> Signed-off-by: Steven Rostedt (VMware) <>
> ---

Added to queue


Powered by blists - more mailing lists