Re: [PATCH v3 1/2] perf lock: Correct field name "flags"

2020-11-04 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 04, 2020 at 05:42:28PM +0800, Leo Yan escreveu: > The tracepoint "lock:lock_acquire" contains field "flags" but not > "flag". Current code wrongly retrieves value from field "flag" and it > always gets zero for the value, thus "perf lock" doesn't report the > correct result. > > This

[PATCH v3 1/2] perf lock: Correct field name "flags"

2020-11-04 Thread Leo Yan
The tracepoint "lock:lock_acquire" contains field "flags" but not "flag". Current code wrongly retrieves value from field "flag" and it always gets zero for the value, thus "perf lock" doesn't report the correct result. This patch replaces the field name "flag" with "flags", so can read out the