Paul Lammertsma
e6fa71ef98
reintegrated pull request #71 ( https://github.com/JakeWharton/pidcat/pull/71 ) onto master
2015-02-17 10:56:38 +01:00
Jake Wharton
00ebabb4d4
Merge pull request #81 from laramaki/master
...
Added ignore tag switch
2015-01-19 23:23:26 -08:00
laramaki
fd999b79f7
Add ignore tag switch. Useful when inspecting the full log on over flooded log devices
2015-01-19 19:26:46 -02:00
Jake Wharton
4c79363e5a
Support any number of spaces before the PID.
2014-10-07 14:10:01 -07:00
Jake Wharton
06eb3b486d
Merge pull request #74 from ahupp/fix-space-bug
...
Fix failure to match new format start messages
2014-10-06 19:53:44 -07:00
Adam Hupp
82c3305c7b
Fix failure to match new format start messages
...
For low pids there's a space in front of the PID in the log message.
All my testing was on high pids :(
2014-10-06 17:18:08 -07:00
Jake Wharton
e5d1d8fcde
Merge pull request #73 from ahupp/master
...
Handle alternative start proc log line
2014-10-01 17:35:13 -07:00
Adam Hupp
493e12a55c
Handle alternative log format for process start
...
Some phones (like my samsung) do not log the 'Start proc ...' line in
logcat to indicate process start. In my case it does log a line like
E/dalvikvm(pid): >>>>>> com.my.package [ more stuff ]
This commit adds support for that format to pidcat.
2014-10-01 10:20:35 -07:00
Adam Hupp
092ffc1869
Revert "Print line if we have not seen any pids created yet"
...
This reverts commit cd01ccf720 .
2014-09-29 21:12:51 -07:00
Jake Wharton
a21ee6e688
Merge pull request #68 from adstro/master
...
Add support for tag(s) filtering
2014-08-19 12:35:25 -07:00
Adam Stroud
3cfd3a839b
Add support for tag(s) filtering
2014-08-19 14:02:23 -04:00
Jake Wharton
3882068abd
Merge pull request #67 from brennantaylor/print_if_no_pids
...
Print line if we have not seen any pids created yet
2014-08-06 14:36:52 -07:00
Brennan Taylor
cd01ccf720
Print line if we have not seen any pids created yet
...
This specifically handles the case where you get a log snippet that may
not have any pid creation lines in it and pidcat ends up filtering
everything out. In this case we just print the line if we haven't seen
any pids yet.
An alternative would be allowing filter by pid, however I find grep
works fine for that.
2014-08-06 14:24:06 -07:00
Jake Wharton
499b8a348a
Merge pull request #63 from brennantaylor/catfile
...
When there is data on stdin we use it instead of adb
2014-07-15 15:34:58 -07:00
Brennan Taylor
0827fafb44
When there is data on stdin we use it instead of adb
2014-07-15 13:32:36 -07:00
Jake Wharton
00fe21b76b
Merge pull request #62 from brennantaylor/imports
...
Cleanup unused imports
2014-07-15 11:53:12 -07:00
Brennan Taylor
1ed466123e
Cleanup unused imports
2014-07-15 11:45:33 -07:00
Jake Wharton
d266cc1592
Merge pull request #60 from Dracks/master
...
min_level case unsensitive
2014-07-01 22:36:48 -07:00
Jaume Singla
78a1421215
min_level case unsensitive
2014-07-01 20:17:25 +02:00
Jake Wharton
99e6f50354
Merge pull request #57 from wtud/master
...
Add option to clear the entire log before running
2014-05-15 08:17:16 -07:00
wtud
fee4b669cc
Add -c to clear the log before starting logcat
2014-05-14 19:03:41 +02:00
Jake Wharton
ccbaa1a77f
Merge pull request #53 from LouisBVL/parse_proc_death
...
Properly match process kill/death/leave messages for secondary processes
2014-03-27 18:15:10 -07:00
Louis Boval
f8ee064e89
Properly match process kill/death/leave messages for secondary processes
...
Summary: The regexes for process exits were no matching secondary processes, which makes it understandably hard to track their
lifecycles. Fix it by including ':' in the process name match groups, as in the process start regex.
Test Plan: Run, match the chrome process name, com.android.chrome, see its secondary processes start reporting their death.
2014-03-27 18:03:12 -07:00
Jake Wharton
2e1b3c9198
Merge pull request #51 from LouisBVL/process_parse
...
Allow package to specify a process as well …
2014-03-27 17:35:33 -07:00
Jake Wharton
e188795904
Merge pull request #50 from LouisBVL/process_output
...
Display package:process_name in process birth/death messages
2014-03-27 17:34:09 -07:00
Jake Wharton
ca00c3305a
Merge pull request #52 from dfuerniss/master
...
Fixed path to adb in Readme
2014-03-13 23:02:45 -07:00
Danny Fürniß
7ecc256e66
Updated text pointing to path to adb in readme
2014-03-13 07:47:18 +01:00
Danny Fürniß
968dac082c
Fixed adb path hint in readme
2014-03-13 07:45:54 +01:00
Louis Boval
1900517819
[pidcat] Allow package to specify a process as well …
...
Summary: Android apps can use multiple processes (eg, chrome), which are identified as <package_name>:<process_name> in logs. The names are defined in the manifest.
The main process is referred to as simply <package_name> by android.
Add the ability to specify a target process as part of what was until now the package name in pidcat, or all processes if no process is specified.
Usage:
* pidcat <package_name> will match all of an app's processes (catchall).
* pidcat <package_name>:<process_name> will match a given named process.
** In particular, pidcat <package_name>: will ensure only the app's main/default process is matched.
Test Plan: Run the script, try out with no process, empty (aka default) process, named process. Try multiple entries.
2014-03-12 23:35:47 -07:00
Louis Boval
97b9c28813
[pidcat] Display package:process_name in process birth/death messages
...
Summary: Making sense of a birth/death message is made easier by specifying which process it applies to, and not just the component or the pid.
Test Plan: Run, monitor message lines when cycling a multi-process app, inject None as a process name to check resilience.
2014-03-12 23:27:39 -07:00
Jake Wharton
b19221ac33
Merge pull request #48 from burntcookie90/master
...
Add path inclusion instructions
2014-03-12 09:56:48 -07:00
Vishnu Rajeevan
767da21162
Add path inclusion instructions
2014-03-12 11:51:27 -04:00
Jake Wharton
a2209ae303
Mention that adb on the path is required.
2014-03-11 22:45:41 -07:00
Jake Wharton
99f94e3552
Homebrew!
2014-03-11 20:21:19 -07:00
Jake Wharton
d4d265a6b0
Merge pull request #44 from gnlnx/backtrace
...
Print backtrace after a native crash
2014-02-15 22:45:29 -08:00
Omar A Rodriguez
bb8701b514
Print backtrace after a native crash
2014-02-14 00:31:41 -08:00
Jake Wharton
55c87865ba
Prepare version 1.4.1.
2014-01-09 15:54:08 -08:00
Jake Wharton
eda219681a
Tweak header.
2014-01-09 15:54:03 -08:00
Jake Wharton
3360b521ba
Merge pull request #42 from paleozogt/master
...
making pidcat robust to when the loglevel isn't one of VDIWEF
2014-01-03 14:18:26 -08:00
Aaron Simmons
5217c75ec0
making pidcat robust to when the loglevel isn't one of VDIWEF (!?)
2014-01-03 15:11:09 -07:00
Jake Wharton
4eb4e68392
Revert "Merge pull request #32 from thorikawa/fix_samsung_logcat_issue"
...
This reverts commit 87ad7dc1d9 , reversing
changes made to aa6e3f0f69 .
2013-12-02 00:50:08 -08:00
Jake Wharton
87ad7dc1d9
Merge pull request #32 from thorikawa/fix_samsung_logcat_issue
...
Use ps command to detect PIDs
2013-10-21 10:15:41 -07:00
Jake Wharton
aa6e3f0f69
Add back-dated change log and tags.
2013-10-19 11:03:36 -07:00
Jake Wharton
f386a22144
Merge pull request #36 from colriot/master
...
Made package arg optional.
2013-10-12 11:05:51 -07:00
colriot
41d3d4ccfc
Made package arg optional.
2013-10-12 16:04:20 +02:00
Jake Wharton
09eaba028a
Merge pull request #35 from trhura/master
...
added option to always display tag name, so that we can pipe its output ...
2013-10-07 19:56:40 -07:00
Thura Hlaing
6b6034ab67
fixed unicode print bug
2013-09-23 16:16:35 +06:30
Thura Hlaing
bf51754642
added option to always display tag name, so that we can pipe its output and filter by tags
2013-09-12 10:17:00 +06:30
Poly Takahiro Horikawa
98ff1fbf90
Add unit to interval constant name
2013-08-21 17:32:46 -07:00
Poly Takahiro Horikawa
675bfcf889
Add thread task to check ps command regularly
2013-08-21 16:27:10 -07:00