diff options
author | Alexander Shishkin <[email protected]> | 2018-03-29 15:06:48 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-03-29 16:07:22 +0200 |
commit | 6ed70cf342de03c7b11cd4eb032705faeb29d284 (patch) | |
tree | b17289ddfe2068cc5eaeae446442614d957f2070 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2d074918fb1568f398777343ff9a28049fb86337 (diff) |
perf/x86/pt, coresight: Clean up address filter structure
This is a cosmetic patch that deals with the address filter structure's
ambiguous fields 'filter' and 'range'. The former stands to mean that the
filter's *action* should be to filter the traces to its address range if
it's set or stop tracing if it's unset. This is confusing and hard on the
eyes, so this patch replaces it with 'action' enum. The 'range' field is
completely redundant (meaning that the filter is an address range as
opposed to a single address trigger), as we can use zero size to mean the
same thing.
Signed-off-by: Alexander Shishkin <[email protected]>
Acked-by: Mathieu Poirier <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: Will Deacon <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions