]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Get rid of unused 'swapped' parameter from perf_event__synthesize_sample()
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 16 Jan 2018 13:14:52 +0000 (15:14 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 18 Jan 2018 12:01:23 +0000 (09:01 -0300)
commit8eff7125dad4a7b66c23eff842435cf7cfda5bbe
tree31b43cda87fde07b84ba23bf9e84eaa4ff2d4c2d
parentf5d8a1283fd5bb10ebf8a4336ff6812004093eab
perf tools: Get rid of unused 'swapped' parameter from perf_event__synthesize_sample()

There is never a need to synthesize a 'swapped' sample, so all callers
to perf_event__synthesize_sample() pass 'false' as the value to
'swapped'. So get rid of the unused 'swapped' parameter.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1516108492-21401-4-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-inject.c
tools/perf/tests/sample-parsing.c
tools/perf/util/event.h
tools/perf/util/evsel.c
tools/perf/util/intel-bts.c
tools/perf/util/intel-pt.c