]>
rtime.felk.cvut.cz Git - linux-conf-perf.git/log
Karel Kočí [Tue, 22 Sep 2015 14:42:27 +0000 (16:42 +0200)]
Fix commit ad69a1
Karel Kočí [Tue, 22 Sep 2015 10:56:30 +0000 (12:56 +0200)]
Execute checkmeasure only once
Karel Kočí [Tue, 22 Sep 2015 10:19:14 +0000 (12:19 +0200)]
Fix bug described in commit 5ef685
Karel Kočí [Mon, 21 Sep 2015 17:49:51 +0000 (19:49 +0200)]
Ignore decode error from subprocess
Karel Kočí [Mon, 21 Sep 2015 12:00:05 +0000 (14:00 +0200)]
Potential fix of wrong input data format exception
Karel Kočí [Fri, 18 Sep 2015 12:57:55 +0000 (14:57 +0200)]
Disable multithreading for ryuglab target
Multithreading is problematic and needs fixing. So again it is disabled
for measuring purposes.
Karel Kočí [Fri, 18 Sep 2015 12:13:50 +0000 (14:13 +0200)]
Fix list of fixed configurations for ryuglab target
In list of fixed configuration options was option PREEMPT_RT_FULL
listed with CONFIG_ prefix.
Karel Kočí [Fri, 18 Sep 2015 08:59:50 +0000 (10:59 +0200)]
Clean repository
Remove some unused files.
Karel Kočí [Fri, 18 Sep 2015 08:53:47 +0000 (10:53 +0200)]
Move buildroot submodule to script folder
Novaboot, picosat,... are in script directory. Only buildroot was in
root directory.
Karel Kočí [Fri, 18 Sep 2015 07:39:29 +0000 (09:39 +0200)]
Fix target/ryuglab/linux submodule
We expect to use realtime branch, but master was committed to git.
Karel Kočí [Fri, 18 Sep 2015 07:31:18 +0000 (09:31 +0200)]
Add scripts buildcnf
This script is for debugging purposes only. It should be launched only
in jobfiles folder and it's generating file cnf.
Karel Kočí [Thu, 17 Sep 2015 16:11:47 +0000 (18:11 +0200)]
Update submodule target/ryuglab/linux
New commit contains new configuration, that will be used for measuring
kernel folder configuration options.
Karel Kočí [Thu, 17 Sep 2015 16:09:53 +0000 (18:09 +0200)]
Add measurable check while initialization
Some configurations options can't be measured. While initialization are
detected and warning is printed.
Karel Kočí [Thu, 17 Sep 2015 11:03:02 +0000 (13:03 +0200)]
Fix parse_kconfig symbol default
Generated rules for symbols default values was used without information
about their order. Kconfig documentation specifies that only first
valid default value specification should be used.
Karel Kočí [Mon, 14 Sep 2015 13:04:49 +0000 (15:04 +0200)]
Remove image after measurement
Image should be removed after it was measured. Otherwise Linux images
are piling up in jobfolder.
Karel Kočí [Mon, 14 Sep 2015 12:56:23 +0000 (14:56 +0200)]
Enable multithreading for ryuglab target
Karel Kočí [Mon, 14 Sep 2015 12:51:31 +0000 (14:51 +0200)]
Fix multithreading
When multithreading was enabled, same configuration could been build
multiple times. Adding list of built configurations and filtering list
of configurations sourced from database solves this problem. Now script
is aware of configurations that was prepared and not yet been measured.
Karel Kočí [Mon, 14 Sep 2015 09:50:22 +0000 (11:50 +0200)]
Export int values to conf.mk
Generated configuration file for makefile did not contain int values.
But they were used. This is new feature but also fix.
Karel Kočí [Mon, 14 Sep 2015 09:45:32 +0000 (11:45 +0200)]
Add makefile target psql
This new target allows direct access to database wit parameters set in
conf.py and conf.py of selected target. This is simple fast access to
database.
Karel Kočí [Mon, 14 Sep 2015 09:26:36 +0000 (11:26 +0200)]
Change boot to execute only one scripts
Boot is now executing only lcpinit script. /init scripts is not used
during measurements. Booting without boot script, only using novaboot
scripts, results in using /init script. This helps to access cli in
booted machine without editing any files.
Karel Kočí [Mon, 14 Sep 2015 08:28:24 +0000 (10:28 +0200)]
Fix empty temporally file for config generation
Generated temporally configuration file was read.
Karel Kočí [Sat, 12 Sep 2015 09:46:26 +0000 (11:46 +0200)]
Fix parse_kconfig choice parsing
Parsing choices was implemented wrong. For non-optional choice output
rules must contain also dependency of all choice symbols. Because if no
choice symbol has fulfilled dependencies, than choice shouldn't be
selected.
Karel Kočí [Sat, 12 Sep 2015 09:23:42 +0000 (11:23 +0200)]
Fix fromfolder script
Script ended with exception when no file with list of non-remove
configuration options was provided.
Karel Kočí [Fri, 28 Aug 2015 15:45:26 +0000 (17:45 +0200)]
Reimplement fromfolder script
Removing configuration options from configuration file according to
definition folder. New implementation allows to specify required
configuration options that shouldn't be removed in any case.
Karel Kočí [Fri, 28 Aug 2015 10:05:27 +0000 (12:05 +0200)]
Ryuglab target update linux
Setup Linux of ryuglab to realtime branch.
Karel Kočí [Wed, 26 Aug 2015 19:42:00 +0000 (21:42 +0200)]
Fix terminate variable for single thread mode
Latest changes for multithreading broke single thread mode.
Karel Kočí [Wed, 26 Aug 2015 19:37:17 +0000 (21:37 +0200)]
Disable multithread for ryuglab target
Multithreading is not working properly yet. So it won't be used for
active measuring.
Karel Kočí [Wed, 26 Aug 2015 19:23:58 +0000 (21:23 +0200)]
Use event for thread synchronization in multithread mode
Karel Kočí [Wed, 26 Aug 2015 17:28:41 +0000 (19:28 +0200)]
Fix thread alive check
Karel Kočí [Wed, 26 Aug 2015 17:15:02 +0000 (19:15 +0200)]
Add print to signal thread start and stop in multithread mode
Karel Kočí [Wed, 26 Aug 2015 17:09:10 +0000 (19:09 +0200)]
Fix multithread locking and terminating
Karel Kočí [Wed, 26 Aug 2015 14:57:29 +0000 (16:57 +0200)]
Fix configuration generation
Karel Kočí [Wed, 26 Aug 2015 14:00:09 +0000 (16:00 +0200)]
Fix multithreading
Karel Kočí [Wed, 26 Aug 2015 09:15:50 +0000 (11:15 +0200)]
Fix random configuration generator
Picosat is as default using 0 as seed for random generator. This lead
on same configuration every time.
Karel Kočí [Wed, 26 Aug 2015 07:53:25 +0000 (09:53 +0200)]
Add dependency to .conf.mk on .target in Makefile
If .target file is changed (=target changed), makefile configuration
should been regenerated.
Karel Kočí [Mon, 24 Aug 2015 14:54:05 +0000 (16:54 +0200)]
Fix wrong function call in configurations script
Karel Kočí [Mon, 24 Aug 2015 12:39:16 +0000 (14:39 +0200)]
Add boot timeout
Boot process should timeout after selected number of seconds if no
output is generated. This allows resolving some problems with possible
boot stuck.
Karel Kočí [Wed, 19 Aug 2015 19:44:16 +0000 (21:44 +0200)]
Fix wrong input type to compare_text in register_conf
Karel Kočí [Wed, 19 Aug 2015 17:03:09 +0000 (19:03 +0200)]
Fix missing utils include in loop.py
Karel Kočí [Wed, 19 Aug 2015 17:01:31 +0000 (19:01 +0200)]
Update ryuglab target linux
Karel Kočí [Wed, 19 Aug 2015 16:56:16 +0000 (18:56 +0200)]
Remove linux module
This modules is no longer used. It is expected that every target will
have it's own linux target.
Karel Kočí [Wed, 19 Aug 2015 16:46:58 +0000 (18:46 +0200)]
Change makefile linux paths to configured Linux source path
Also remove unused buildroot targets
Karel Kočí [Wed, 19 Aug 2015 16:40:31 +0000 (18:40 +0200)]
Remove unused conf variables
Some variables were no longer used or with current settup system made
no sence.
Karel Kočí [Wed, 19 Aug 2015 16:34:50 +0000 (18:34 +0200)]
Move boot and remove compile script
Compile script is not required if we use GNUmakefile.
Holding script folder only because of boot script makes no sense.
Karel Kočí [Wed, 19 Aug 2015 16:26:35 +0000 (18:26 +0200)]
Update linux for ryuglab target
Karel Kočí [Wed, 19 Aug 2015 15:32:36 +0000 (17:32 +0200)]
Fix build command for ryuglab target
Karel Kočí [Wed, 19 Aug 2015 15:31:25 +0000 (17:31 +0200)]
Fix missing include in test script
Karel Kočí [Wed, 19 Aug 2015 15:28:08 +0000 (17:28 +0200)]
Fix wrong folder and remove unused script
In boot script was old name usable before previous commit.
Also patch script removed This script is no longer required, because
path is applied in submodule.
Karel Kočí [Wed, 19 Aug 2015 15:24:26 +0000 (17:24 +0200)]
Rename ryuglab target folder cyclictest to boot
Boot configuration it this folder wasn't usable only just for
cyclictest, but for any test. So new name is more descriptive.
Karel Kočí [Wed, 19 Aug 2015 15:16:17 +0000 (17:16 +0200)]
Add linux for target ryuglab
Karel Kočí [Wed, 19 Aug 2015 12:58:36 +0000 (14:58 +0200)]
Added dirty repository check
Test run and initialization now shows warning about dirty repository
and loop can't be executed if linux or root repository is dirty.
Karel Kočí [Wed, 19 Aug 2015 10:06:04 +0000 (12:06 +0200)]
Fix wrong input format to database
add_measure in boot script was called with list of lines instead of
single string.
Karel Kočí [Wed, 19 Aug 2015 09:58:47 +0000 (11:58 +0200)]
Fix utils.callsubprocess stdin
Karel Kočí [Wed, 19 Aug 2015 09:50:27 +0000 (11:50 +0200)]
Fix boot.py parse call
Karel Kočí [Wed, 19 Aug 2015 09:31:42 +0000 (11:31 +0200)]
Add git ignore for links
While booting are created links to upper folders. These links should be
ignored from git.
Karel Kočí [Wed, 19 Aug 2015 09:27:22 +0000 (11:27 +0200)]
Print command and version to boot output
Karel Kočí [Wed, 19 Aug 2015 08:48:38 +0000 (10:48 +0200)]
Fix boot output parse script
Karel Kočí [Wed, 19 Aug 2015 08:34:07 +0000 (10:34 +0200)]
Add message about what configuration is measured
Karel Kočí [Wed, 19 Aug 2015 08:31:19 +0000 (10:31 +0200)]
Remove unused atribute for parse script call
Karel Kočí [Wed, 19 Aug 2015 08:28:45 +0000 (10:28 +0200)]
Fix type exception in kernel.config
As name was given tempfile object no name of generated temporally file.
Karel Kočí [Wed, 19 Aug 2015 08:20:47 +0000 (10:20 +0200)]
Remove configuration folder creation from initialization
This folder is no longer used and shouldn't be created.
Karel Kočí [Wed, 19 Aug 2015 08:14:53 +0000 (10:14 +0200)]
Store boot output to database
Because configuration is now stored in database only missing
informations to make database fully descriptive is boot output. This
makes output of boot command to be saved to database and not to file.
Also parse script should read input from stdin and not from file from
argument.
Karel Kočí [Tue, 18 Aug 2015 13:52:28 +0000 (15:52 +0200)]
Fix wrong exception excepted in configurations script
Karel Kočí [Tue, 18 Aug 2015 13:48:11 +0000 (15:48 +0200)]
Write stderr to log file together with stdout
Utils function callsubprocess now logs all program output including
stderr.
Convenient would be to print stderr even if output is disabled. But
this would probably required threads.
Karel Kočí [Tue, 18 Aug 2015 09:42:56 +0000 (11:42 +0200)]
Fix relative path to external buildroot packages
Karel Kočí [Tue, 18 Aug 2015 09:36:21 +0000 (11:36 +0200)]
ryuglab boot force links
Karel Kočí [Tue, 18 Aug 2015 09:18:54 +0000 (11:18 +0200)]
Change patch apply for ryuglab
Patch is now added directly as commit.
Karel Kočí [Tue, 18 Aug 2015 09:07:58 +0000 (11:07 +0200)]
Fix database get_configsort
Previous implementation was returning list of tuples. Now it is
returning list of strings.
Karel Kočí [Tue, 18 Aug 2015 08:55:11 +0000 (10:55 +0200)]
Fix database add_configsort
No attribute supplied when executed sql command.
Karel Kočí [Tue, 18 Aug 2015 08:41:40 +0000 (10:41 +0200)]
Generate configuration as ditionary in picosat function
Picosat output is parsed and automatically is resolved to dictionary
with configuration option name as key and boolean value. This makes all
configurations in script of same type. All are dictionaries this way.
Karel Kočí [Tue, 18 Aug 2015 08:26:26 +0000 (10:26 +0200)]
Add drop command for configopt table
This table was recently added, but was missing in databaseclean.sql.
Karel Kočí [Tue, 18 Aug 2015 08:24:39 +0000 (10:24 +0200)]
Set distclean to not dropping database
Database is separated from project. It should be cleaned automatically
because of saving data.
Karel Kočí [Tue, 18 Aug 2015 08:20:48 +0000 (10:20 +0200)]
Fix bug in wrong input type to CNF file generator
This caused that instead of multiple numbers was parsed only one number
including every single number character as separated number. Because of
this was generated wrong CNF file and sometimes if zero was in number
picosat failed with error.
Karel Kočí [Tue, 18 Aug 2015 08:19:01 +0000 (10:19 +0200)]
Fix kernel temporally file removal
Temporally file generated in kernel script during configuration
applying wasn't closed/remove after end of usage.
Karel Kočí [Mon, 17 Aug 2015 16:46:27 +0000 (18:46 +0200)]
Fix missing setting of kernel_env variable in ryglab target config
Karel Kočí [Mon, 17 Aug 2015 16:35:12 +0000 (18:35 +0200)]
Generated configuration is now fully stored to database
Managing configurations in files and in database could cause
inconsistence. Adding all generated configurations to database allow us
to clean project files without loosing data.
Karel Kočí [Mon, 17 Aug 2015 15:23:52 +0000 (17:23 +0200)]
Change location for rootfs of tests
Now every test should have its own folder with rootfs and parse script.
Karel Kočí [Mon, 17 Aug 2015 14:58:43 +0000 (16:58 +0200)]
Change execute folder for boot
Folder in which novaboot is called is now same as nbscript. Binaries
are linked to this folder from upper folders.
Karel Kočí [Mon, 17 Aug 2015 14:39:46 +0000 (16:39 +0200)]
Add etherwake to boot command
Karel Kočí [Mon, 17 Aug 2015 14:25:11 +0000 (16:25 +0200)]
Fix relative path to .target file
.target file should load always from root folder of project to ensure,
that all tools in project are targeting same target.
Karel Kočí [Mon, 17 Aug 2015 14:06:16 +0000 (16:06 +0200)]
Set configuration back do default and add overlap
Configuration is set back as it was before previous merge on branch
master.
Configurations for targets can be specified by overlapping
configuration options with external config.
Karel Kočí [Thu, 13 Aug 2015 15:21:31 +0000 (17:21 +0200)]
Set configuration back do default
Configuration is set back as it was before previous merge on branch
master.
Karel Kočí [Thu, 13 Aug 2015 13:53:06 +0000 (15:53 +0200)]
Merge branch 'measuring'
Removing measuring branch. Idea was to make measuring configuration
separate from master. But keeping changes in master and measuring
branch consistent was pain.
Karel Kočí [Thu, 13 Aug 2015 13:48:40 +0000 (15:48 +0200)]
Fix configuration generation missing file exception
If generating single throw NoSolution exception, randomly generated CNF
file is removed. But finally statement tries to remove it once again.
Solution is to not remove CNF file in exception handling, but only by
finally statement.
Karel Kočí [Thu, 13 Aug 2015 13:17:42 +0000 (15:17 +0200)]
Remove parse_kconfig from test run
Executing parse_kconfig in test run makes no sense and takes to much
time.
Karel Kočí [Thu, 13 Aug 2015 13:12:51 +0000 (15:12 +0200)]
Fix wrong path to patch in patch script
Karel Kočí [Thu, 13 Aug 2015 10:13:39 +0000 (12:13 +0200)]
Remove duplicate variable in conf.py
This duplication was created probably by merging.
Karel Kočí [Thu, 13 Aug 2015 09:59:48 +0000 (11:59 +0200)]
Merge branch 'master' into measuring
Pull generate_single fix.
Karel Kočí [Thu, 13 Aug 2015 09:57:40 +0000 (11:57 +0200)]
Fix single_generated_file writeback
measure_list containst ints. But method writelines can only be used with
strings.
Karel Kočí [Thu, 13 Aug 2015 09:54:31 +0000 (11:54 +0200)]
Merge branch 'master' into measuring
Conflicts:
conf.py
scripts/configurations.py
Karel Kočí [Thu, 13 Aug 2015 09:42:51 +0000 (11:42 +0200)]
Fix generate single configuration
This fixes and ensures that every call generates configuration. Unless
False is returned.
Karel Kočí [Thu, 13 Aug 2015 09:19:09 +0000 (11:19 +0200)]
Fix thread cooperation in loop
Measure function requires img and config as atributes. But only config
was provided.
Karel Kočí [Thu, 13 Aug 2015 09:19:09 +0000 (11:19 +0200)]
Fix thread cooperation in loop
Measure function requires img and config as atributes. But only config
was provided.
Karel Kočí [Thu, 13 Aug 2015 09:04:31 +0000 (11:04 +0200)]
Implement random generation of configurations
Configuration are generated with random assumptions. This should
generate different configuration for every SAT solver execution.
Karel Kočí [Thu, 13 Aug 2015 09:04:31 +0000 (11:04 +0200)]
Implement random generation of configurations
Configuration are generated with random assumptions. This should
generate different configuration for every SAT solver execution.
Karel Kočí [Wed, 12 Aug 2015 18:31:28 +0000 (20:31 +0200)]
Catch NoApplicableConfiguration exception in prepare thread
Karel Kočí [Wed, 12 Aug 2015 16:12:59 +0000 (18:12 +0200)]
Fix wrong configuration reading from database
Karel Kočí [Wed, 12 Aug 2015 15:28:00 +0000 (17:28 +0200)]
Fix bug in configurations loading
Loading configuration load all configuration options as True.
Karel Kočí [Wed, 12 Aug 2015 14:41:59 +0000 (16:41 +0200)]
Fix problem with wrongly printed first line in CNF file
Karel Kočí [Wed, 12 Aug 2015 13:48:19 +0000 (15:48 +0200)]
Fix if generated existing configuration
When some generator tries to register already generated solution, it
shouldn't be registered.