diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-12 13:14:52 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-12 13:23:51 -0300 |
commit | 236d812c55c2f38665663f0af61606b1cecea825 (patch) | |
tree | 68622fae68b75bd8530b5f1bfe8400c3e20d4920 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 41013f0c095980775e0746272873891ca7c28fb1 (diff) |
perf trace: No need to set PERF_SAMPLE_IDENTIFIER explicitely
Since 75562573bab3 ("perf tools: Add support for
PERF_SAMPLE_IDENTIFIER") we don't need explicitely set
PERF_SAMPLE_IDENTIFIER, as perf_evlist__config() will do this for us,
i.e. when there are more than one evsel in an evlist, it will check if
some evsel has a sample_type different than the one on the first evsel
in the list, setting PERF_SAMPLE_IDENTIFIER in that case.
So, to simplify 'perf trace' codebase, ditch that check.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Hendrick Brueckner <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions