Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce tool abrt-dump-journal-xorg #1075

Merged
merged 13 commits into from Nov 6, 2015
Merged

Conversation

mhabrnal
Copy link

Resolves #1023
Related to rhbz#1246373

@sorki
Copy link
Contributor

sorki commented Oct 23, 2015

Typo in commit message: 'xorg: introduce library xort-utils'

rlRun "ABRT_DUMP_JOURNAL_XORG_DEBUG_FILTER=\"SYSLOG_IDENTIFIER=${SYSLOG_IDENTIFIER}\" setsid ${exe} ${args} -vvv -f -xD -o >${crash_name}.log 2>&1 &"
rlRun "ABRT_DUMPER_PID=$!"
cp ${crash_name}.log /tmp/test.log

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing spaces

@sorki
Copy link
Contributor

sorki commented Oct 23, 2015

Otherwise fine. Good job

@mhabrnal
Copy link
Author

I've addressed all @sorki 's comments.

@mhabrnal mhabrnal force-pushed the dump_journal_xorg_final branch 2 times, most recently from a37c6ea to e385cbd Compare November 3, 2015 11:37
@mhabrnal mhabrnal force-pushed the dump_journal_xorg_final branch 12 times, most recently from dfb2f55 to 63a5685 Compare November 6, 2015 10:57
Matej Habrnal added 10 commits November 6, 2015 11:57
Mostly copying from abrt-dump-xorg.
The library was created becase the new tool for dump xorg crashes from journal
will be introduced.

Resolves #1023
Related to rhbz#1246373

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
skip_pfx() expecting string which starts with '[' but
Xorg journal messages do not start with '[' but with '(EE)'.

Resolves #1023
Related to rhbz#1246373

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
Add option to define CFLAGS and FDFLAGS for compiler for each test case
separately by AT_TESTCFUN(NAME, CFLAGS, LDFLAGS, SOURCE) macro.

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
Resolves #1023
Related to rhbz#1246373

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
Resolves #1023
Related to rhbz#1246373

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
The function reads and returns next line from journal, if exists.

Resolves #1023
Related to rhbz#1246373

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
Resolves #1023
Related to rhbz#1246373

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
The tool follows journal and dump Xorg crashes, if occur.

Resolves #1023
Related to rhbz#1246373

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
…_filter()

In case we want to use more journal filter it is easier to manipulate with
GList than with array.
Also argument parser returns GList in case of LIST parameter.

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
Matej Habrnal added 2 commits November 6, 2015 11:57
xorg.conf is no longer located in /etc/abrt/xorg.conf but in
/etc/abrt/plugins/xorg.conf.

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
Journal filter can be be specified either by parameter -j or in xorg.conf conf
file (option JournalFilters).

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
@mhabrnal mhabrnal force-pushed the dump_journal_xorg_final branch 3 times, most recently from 40941df to 1200b0d Compare November 6, 2015 12:44
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
jfilak added a commit that referenced this pull request Nov 6, 2015
Introduce tool abrt-dump-journal-xorg
@jfilak jfilak merged commit e5a3d25 into master Nov 6, 2015
@jfilak jfilak deleted the dump_journal_xorg_final branch November 6, 2015 13:35
@jfilak
Copy link
Contributor

jfilak commented Nov 6, 2015

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants