mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
tools/power/x86/intel_pstate_tracer: Fix non root execution for post processing a trace file
[ Upstream commit663546903c] This script is supposed to be allowed to run with regular user privileges if a previously captured trace is being post processed. Commitfbe313884d(tools/power/x86/intel_pstate_tracer: Free the trace buffer memory) introduced a bug that breaks that option. Commit35459105de(tools/power/x86/intel_pstate_tracer: Add optional setting of trace buffer memory allocation) moved the code but kept the bug. This patch fixes the issue. Fixes:35459105de(tools/power/x86/intel_pstate_tracer: Add optional ...) Signed-off-by: Doug Smythies <dsmythies@telus.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
928dbf6a29
commit
5c4c550839
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue