summaryrefslogtreecommitdiff
path: root/proto_tcp.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-10-10 10:32:37 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-10-10 10:32:37 +0200
commit6e1ffd6cd41ba4ffb8fbc261c79ad124aa293253 (patch)
tree228ba83eec889eee445f3f4f8817eced8d02c767 /proto_tcp.c
parentbcd676be133e360c012b1279c1fcef9c7ede1ccf (diff)
netsniff-ng: Use strtoul() instead of strtol() for unsigned long
If setting an unsigned long variable, use strtoul() instead of strtol(). Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_tcp.c')
0 files changed, 0 insertions, 0 deletions
gration
The hwlat tracer creates a kernel thread at start of the tracer. It is pinned to a single CPU and will move to the next CPU after each period of running. If the user modifies the migration thread's affinity, it will not change after that happens. The original code created the thread at the first instance it was called, but later was changed to destroy the thread after the tracer was finished, and would not be created until the next instance of the tracer was established. The code that initialized the affinity was only called on the initial instantiation of the tracer. After that, it was not initialized, and the previous affinity did not match the current newly created one, making it appear that the user modified the thread's affinity when it did not, and the thread failed to migrate again. Cc: stable@vger.kernel.org Fixes: 0330f7aa8ee6 ("tracing: Have hwlat trace migrate across tracing_cpumask CPUs") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'sound/soc/qcom/lpass.h')