diff options
author | 2020-01-24 10:03:01 +0300 | |
---|---|---|
committer | 2020-01-30 09:46:27 -0500 | |
commit | 039958a5f7aad695d4d52683c7d48aa13fb18249 (patch) | |
tree | 2abfc0f938e70c7b7a9a8d7e59babb44092c33ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ftrace: fpid_next() should increase position index (diff) | |
download | wireguard-linux-039958a5f7aad695d4d52683c7d48aa13fb18249.tar.xz wireguard-linux-039958a5f7aad695d4d52683c7d48aa13fb18249.zip |
tracing: eval_map_next() should always increase position index
if seq_file .next fuction does not change position index,
read after some lseek can generate unexpected output.
Link: http://lkml.kernel.org/r/7ad85b22-1866-977c-db17-88ac438bc764@virtuozzo.com
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
[ This is not a bug fix, it just makes it "technically correct"
which is why I applied it. NULL is only returned on an anomaly
which triggers a WARN_ON ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions