Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3cef7fe authored by Kim Phillips's avatar Kim Phillips Committed by Arnaldo Carvalho de Melo
Browse files

perf intel-pt/bts: Remove unused SAMPLE_SIZE defines and bts priv array



These defines were probably dragged in from sampling support in earlier
patches.  They can be put back when needed.

Signed-off-by: default avatarKim Phillips <kim.phillips@arm.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170616112339.3fb6986e4ff33e353008244b@arm.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 0c788d47
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -35,10 +35,6 @@
#define KiB_MASK(x) (KiB(x) - 1)
#define MiB_MASK(x) (MiB(x) - 1)

#define INTEL_BTS_DFLT_SAMPLE_SIZE	KiB(4)

#define INTEL_BTS_MAX_SAMPLE_SIZE	KiB(60)

struct intel_bts_snapshot_ref {
	void	*ref_buf;
	size_t	ref_offset;
+0 −4
Original line number Diff line number Diff line
@@ -40,10 +40,6 @@
#define KiB_MASK(x) (KiB(x) - 1)
#define MiB_MASK(x) (MiB(x) - 1)

#define INTEL_PT_DEFAULT_SAMPLE_SIZE	KiB(4)

#define INTEL_PT_MAX_SAMPLE_SIZE	KiB(60)

#define INTEL_PT_PSB_PERIOD_NEAR	256

struct intel_pt_snapshot_ref {
+0 −2
Original line number Diff line number Diff line
@@ -866,8 +866,6 @@ static void intel_bts_print_info(u64 *arr, int start, int finish)
		fprintf(stdout, intel_bts_info_fmts[i], arr[i]);
}

u64 intel_bts_auxtrace_info_priv[INTEL_BTS_AUXTRACE_PRIV_SIZE];

int intel_bts_process_auxtrace_info(union perf_event *event,
				    struct perf_session *session)
{