Age | Commit message (Collapse) | Author | Files | Lines |
|
The known ones are /sys/kernel/debug/ and /debug/
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This allows to detect the acpi battery and debugfs i915_emon_status files
location automatically.
Note that this does not handles different possible locations for debugfs
yet.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
As suggested by Konstantin Belousov, using __linux__ would be easier,
remove the --enable-linux-features compile flag, and also make porting
easier.
So we do it, and check for __linux__ during compilation, and only compile
linux-specific bits when we are on Linux. Other systems can extend the
proposed functions with system-specific value aquisition (for now, CPU and
GPU/ACPI power monitoring).
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This adds a helper function to do the plotting and checking for valid
column names.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Add some checks in cases where we expect to have values in results, and
they are suddently not there.
This would happen when Linux extensions are not enabled for instance.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Apparently, intel_gpu_analyze was shy and was introducing himself as '%s'.
Following James Bond lore, I think it was having a case of 'Bond. James
Bond', in form of 's. %s.'.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This standardizes on using tab characters instead of white spaces in cases
those were mixed.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
It crashes kernel :/
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Otherwise, we silently fail..
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Proper time plotting and labels positions
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
It was changed in intel_gpu_top but not here.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Duh...
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Also plot gpu chipset and gpu gfx power data.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This allows to have customized outputs, and does not needs to adapt to
fixed column positions all the time.
Thus, we can have flexible columns in the output, and only grab the ones
which we care about.
We still do not handle missing columns while parsing though.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Now we have 'bitstream' and 'bitstream6' instead of 2 'bitstream's.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This simplifies parsing and allows to have more detailed column names.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This also adds initial support for unique fields naming, for more
extensible parsing with intel_gpu_analyze.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Add cross-reference for seconds of execution and specific process, and
link perf results from the main execution page.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This allows to analyse per-second results of perf run,
and output a cross-referenced statistics of the execution.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This allows to record perf statistics when using '-p' switch.
Together with non-interactive monitoring, this allows for a much more
fine-grained results analysis.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Apparently I only find typos after I send emails where such typos appear
on the very first page. Specially on weekends.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This name sounds nicer.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This improves both resulting pdf size and their visualization. And SVG is
the future anyway.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Now parsing command line options, generating summaries and some
interesting charts.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
This tool is intended to analyse statistics collected by intel_gpu_top and
kperf, and output summarized results for:
- CPU usage (user and system time)
- GPU usage (overall and per-ring)
- Power usage in watts over time
- Power usage relationship to CPU
- Power usage relationship to GPU
- Execution statistics
For perf outputs, the entire recorded perf execution is processed in
converted into a series of 'perf top'-like outputs for each process, for
each second of the execution.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Duh...
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Calculate proper power value in vatts. As phisics books tell us,
Watts = power rate * current voltage
Therefore, we get the accurate results from the acpi battery information,
and combine them into nice power usage values.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Those bits are only used when compiling with --enable-linux-features,
and allow to perform additional monitoring of CPU (user and system) usage
and power usage over time.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
Using debugfs facilities for forcewake-related stuff.
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
|
|
That hw is broken.
Reported-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
|
|
Be simple and use the strictest requirements from gen2/3 with old
kernels so that this simply works everywhere.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42585
|
|
Fixes a bug where we were masking against the wrong value.
|
|
|
|
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
... and also add the missing files to lib/Makefile.am
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
... like on my i855gm.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
|
|
gen4asm
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
|
|
Kills my little i855gm.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
debian's dash doesn't like this.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Ooops.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Submitting random crap hangs the gpu. Suprise!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Add a new target test for that.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Catches a bunch of forcewake warnings on snb+
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|