#ifndef __PERF_SVGHELPER_H #define __PERF_SVGHELPER_H #include void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end); void svg_ubox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int merges); void svg_lbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int merges); void svg_fbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int merges); void svg_box(int Yslot, u64 start, u64 end, const char *type); void svg_blocked(int Yslot, int cpu, u64 start, u64 end, const char *backtrace); void svg_running(int Yslot, int cpu, u64 start, u64 end, const char *backtrace); void svg_waiting(int Yslot, int cpu, u64 start, u64 end, const char *backtrace); void svg_cpu_box(int cpu, u64 max_frequency, u64 turbo_frequency); void svg_process(int cpu, u64 start, u64 end, int pid, const char *name, const char *backtrace); void svg_cstate(int cpu, u64 start, u64 end, int type); void svg_pstate(int cpu, u64 start, u64 end, u64 freq); void svg_time_grid(double min_thickness); void svg_io_legenda(void); void svg_legenda(void); void svg_wakeline(u64 start, int row1, int row2, const char *backtrace); void svg_partial_wakeline(u64 start, int row1, char *desc1, int row2, char *desc2, const char *backtrace); void svg_interrupt(u64 start, int row, const char *backtrace); void svg_text(int Yslot, u64 start, const char *text); void svg_close(void); int svg_build_topology_map(char *sib_core, int sib_core_nr, char *sib_thr, int sib_thr_nr); extern int svg_page_width; extern u64 svg_highlight; extern const char *svg_highlight_name; #endif /* __PERF_SVGHELPER_H */ ss='active' href='/cgit.cgi/linux/net-next.git/log/tools/perf/util/cpumap.c?h=nds-private-remove'>logtreecommitdiff
path: root/tools/perf/util/cpumap.c
15'>15
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-30 11:26:38 +0100
committerJiri Kosina <jkosina@suse.cz>2017-01-31 12:59:32 +0100
commit7a7b5df84b6b4e5d599c7289526eed96541a0654 (patch)
treecf7514c7ddf4410fe37ca9099a2785e1cf08fa7d /include/net/bluetooth/rfcomm.h
parent877a021e08ccb6434718c0cc781fdf943c884cc0 (diff)
HID: cp2112: fix sleep-while-atomic
A recent commit fixing DMA-buffers on stack added a shared transfer buffer protected by a spinlock. This is broken as the USB HID request callbacks can sleep. Fix this up by replacing the spinlock with a mutex. Fixes: 1ffb3c40ffb5 ("HID: cp2112: make transfer buffers DMA capable") Cc: stable <stable@vger.kernel.org> # 4.9 Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/net/bluetooth/rfcomm.h')