linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf mem: Standardize \'perf mem\' arg parsing
@ 2021-07-21  2:24 Brett Holman
  2021-07-21  2:24 ` [PATCH] perf mem: Standardize 'perf mem' " Brett Holman
  0 siblings, 1 reply; 2+ messages in thread
From: Brett Holman @ 2021-07-21  2:24 UTC (permalink / raw)
  Cc: linux-perf-users, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Mark Rutland, Alexander Shishkin,
	Jiri Olsa, Namhyung Kim, linux-kernel

This is my first time contributing here, please let me know if I
missed anything.

To compare the commands tested, use the following:

strace -f ./perf     record foo -pv bar 2>&1 | grep -a execve
strace -f ./perf mem record foo -pv bar 2>&1 | grep -a execve

Before this patch, note that '-pv' is stripped out of the command under
test for 'perf mem record', but not for 'perf record'. This patch makes
the behaviors match.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-21  2:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21  2:24 [PATCH] perf mem: Standardize \'perf mem\' arg parsing Brett Holman
2021-07-21  2:24 ` [PATCH] perf mem: Standardize 'perf mem' " Brett Holman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).