diff options
author | Thomas Gleixner <[email protected]> | 2019-04-10 12:28:10 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-04-14 19:58:32 +0200 |
commit | 4285f2fcef8001ead0f1c9315ba50302cab68cda (patch) | |
tree | 0d305b9f8b8cee0781244908d40f804d809b53b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fa49e2eac9aa8259e1ea540d1bd301448d5b735d (diff) |
tracing: Remove the ULONG_MAX stack trace hackery
No architecture terminates the stack trace with ULONG_MAX anymore. As the
code checks the number of entries stored anyway there is no point in
keeping all that ULONG_MAX magic around.
The histogram code zeroes the storage before saving the stack, so if the
trace is shorter than the maximum number of entries it can terminate the
print loop if a zero entry is detected.
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions