summaryrefslogtreecommitdiff
path: root/pkt.h
diff options
context:
space:
mode:
authormpvader <mvader@victronenergy.com>2019-02-03 10:22:49 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2019-02-03 17:32:30 +0100
commitfdf702ec67f8eefbd3ad5bb63f193dce01ef6201 (patch)
tree31576ead6ad88d2bd359dbd64ebaf2311b75407a /pkt.h
parente1b6baa4f71f46b6bd2f9a1e4ffbc2e593d14a48 (diff)
llmnrd: set stdout to line buffering
The log output of llmnrd works well when operated from a terminal; but not when its stdout is piped to a log-file or -tool; due to buffering: By default, stdout is buffered (line buffered if connected to a terminal), and stderr is unbuffered. [1] Changing stdout to line buffering fixes this. [1] https://www.gnu.org/software/libc/manual/html_node/Buffering-Concepts.html
Diffstat (limited to 'pkt.h')
0 files changed, 0 insertions, 0 deletions
read migration
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 'tools/arch/frv')